Download src/components/nodes/GroupLabelNode.tsx from AIBRUH/LAYER: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/AIBRUH/LAYER/resolve/main/src/components/nodes/GroupLabelNode.tsx
- Command line
-
hf download hf://spaces/AIBRUH/LAYER/src/components/nodes/GroupLabelNode.tsx
-
curl -L -o GroupLabelNode.tsx https://huggingface.co/spaces/AIBRUH/LAYER/resolve/main/src/components/nodes/GroupLabelNode.tsx
432 Bytes
| "use client"; | |
| export type GroupLabelNodeData = { | |
| label: string; | |
| color: string; | |
| }; | |
| export default function GroupLabelNode({ data }: { data: GroupLabelNodeData }) { | |
| return ( | |
| <div | |
| className="pointer-events-none select-none text-center font-semibold text-xs tracking-[0.25em] uppercase" | |
| style={{ color: data.color, width: 320, textShadow: `0 0 16px ${data.color}66` }} | |
| > | |
| {data.label} | |
| </div> | |
| ); | |
| } | |