Function
Frame
({ children, classNames }: FrameProps)
Source from the content-addressed store, hash-verified
| 10 | } |
| 11 | |
| 12 | export default function Frame({ children, classNames }: FrameProps) { |
| 13 | return ( |
| 14 | <div |
| 15 | className={cn("relative flex h-fit w-fit pb-4.5", classNames?.wrapper)} |
| 16 | > |
| 17 | <div className="absolute inset-x-[16px] top-1 bottom-0 h-auto w-auto rounded-xs border"> |
| 18 | <Scanline /> |
| 19 | </div> |
| 20 | <div |
| 21 | className={cn( |
| 22 | "bg-bg relative w-full rounded-xs border shadow-md", |
| 23 | classNames?.frame |
| 24 | )} |
| 25 | > |
| 26 | {children} |
| 27 | </div> |
| 28 | </div> |
| 29 | ); |
| 30 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected