| 4 | const GLITCH_CHARS = '!@#$%^&*_+-=[]{}|;:<>?/~'; |
| 5 | |
| 6 | interface 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 |
| 15 | export const TuiBox = forwardRef<HTMLDivElement, TuiBoxProps>(({ title, className = '', children, showTitle = true, onClose, ...props }, ref) => { |
nothing calls this directly
no outgoing calls
no test coverage detected