| 1 | import 'react' |
| 2 | import './panel.css' |
| 3 | import type { JSX } from 'react' |
| 4 | |
| 5 | interface PanelProps { |
| 6 | children?: any[] | any |
| 7 | className?: string |
| 8 | } |
| 9 | |
| 10 | export function Panel ({ children, className }: PanelProps): JSX.Element { |
| 11 | return ( |
| 12 | <div className={`Panel ${className ?? ''}`}> |
| 13 | {children} |
| 14 | </div> |
| 15 | ) |
| 16 | } |