Spaces:
Paused
Paused
Download components/shared/layout/curvy-rect-divider.tsx from Leon4gr45/paper2code-cli: direct link, hf CLI and curl.
- Browser
- Download file 748 Bytes
-
https://huggingface.co/spaces/Leon4gr45/paper2code-cli/resolve/main/components/shared/layout/curvy-rect-divider.tsx
- Command line
-
hf download hf://spaces/Leon4gr45/paper2code-cli/components/shared/layout/curvy-rect-divider.tsx
-
curl -L -o curvy-rect-divider.tsx https://huggingface.co/spaces/Leon4gr45/paper2code-cli/resolve/main/components/shared/layout/curvy-rect-divider.tsx
748 Bytes
| import React from "react"; | |
| import CurvyRect from "./curvy-rect"; | |
| export function CurvyRectDivider() { | |
| return ( | |
| <div className="relative mx-1 my-1"> | |
| <div className="relative h-px bg-zinc-200 border-x border-zinc-200"> | |
| <CurvyRect | |
| className="absolute -top-[0.5px] -left-[1px] w-[calc(100%+2px)]" | |
| top | |
| /> | |
| <CurvyRect | |
| className="absolute -bottom-[0.5px] -left-[1px] w-[calc(100%+2px)]" | |
| bottom | |
| /> | |
| <CurvyRect | |
| className="absolute -left-[0.5px] -top-[1px] h-[calc(100%+2px)]" | |
| left | |
| /> | |
| <CurvyRect | |
| className="absolute -right-[0.5px] -top-[1px] h-[calc(100%+2px)]" | |
| right | |
| /> | |
| </div> | |
| </div> | |
| ); | |
| } | |