main
tsx 16 lines 344 Bytes
Raw
1 import 'react'
2 import './floating-panel.css'
3 import type { JSX } from 'react'
4
5 interface FloatingPanelProps {
6 children?: any
7 className?: string
8 }
9
10 export function FloatingPanel ({ children, className }: FloatingPanelProps): JSX.Element {
11 return (
12 <div className={`FloatingPanel ${className ?? ''}`}>
13 {children}
14 </div>
15 )
16 }