import { forwardRef } from 'react' import { Popover, PopoverProps } from 'react-bootstrap-5' type OLPopoverProps = Omit & { title?: React.ReactNode } const OLPopover = forwardRef((props, ref) => { const { title, children, ...bs5Props } = props return ( {title && {title}} {children} ) }) OLPopover.displayName = 'OLPopover' export default OLPopover