import { PolymorphicComponentProps } from '@kalink-ui/dibbly'; import { ElementType } from 'react'; import { FrameVariants } from './frame.css'; import { frameResponsive } from './frame.responsive'; import type { Responsive } from '../../styles/responsive'; type FrameProps = PolymorphicComponentProps & Omit & { ratio?: Responsive>; }; /** * A custom element for augmenting image ratios * * https://every-layout.dev/layouts/frame */ export function Frame( props: FrameProps, ) { const { use: Comp = 'div', className, ratio, ...rest } = props; return ; }