import { c, classy, m, PopoverProps as BaseProps } from '@onfido/castor'; import React from 'react'; import { withRef } from '../../utils'; export const PopoverBase = withRef(function Popover( { align, className, position, ...props }: BaseProps & Div & Required>, ref?: Div['ref'] ) { return (
); }); type Div = JSX.IntrinsicElements['div'];