MCPcopy Create free account
hub / github.com/TheCSir/TerminalStart / TuiBoxProps

Interface TuiBoxProps

src/components/ui/TuiBox.tsx:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4const GLITCH_CHARS = '!@#$%^&*_+-=[]{}|;:<>?/~';
5
6interface TuiBoxProps extends React.HTMLAttributes<HTMLDivElement> {
7 title: string;
8 className?: string;
9 children: React.ReactNode;
10 showTitle?: boolean;
11 onClose?: () => void;
12}
13
14// Forward ref is required for react-grid-layout to work correctly with custom components
15export const TuiBox = forwardRef<HTMLDivElement, TuiBoxProps>(({ title, className = '', children, showTitle = true, onClose, ...props }, ref) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected