import { PropsWithChildren } from 'react'; import { Popover } from '@base-ui/react/popover'; import style from './Popover.module.scss'; interface PopoverContentsProps extends Popover.Positioner.Props { title?: string; className?: string; } export default function PopoverContents({ title, className, children, ...popoverProps }: PropsWithChildren) { return ( {title && {title}} }> {children} ); }