import { PolymorphicComponentProps } from '@kalink-ui/dibbly'; import { ElementType } from 'react'; import { BoxVariants } from './box.css'; import { boxResponsive } from './box.responsive'; import type { Responsive } from '../../styles/responsive'; export type BoxProps = PolymorphicComponentProps & Omit & { spacing?: Responsive>; }; /** * A evenly spaced container for grouping related elements. Can * be styled with colors, borders, and shadows. * * https://every-layout.dev/layouts/box */ export function Box({ spacing, radius, elevation, tone, className, variant, ...props }: BoxProps) { const { use: Comp = 'div', ...rest } = props; return ( ); }