import { PolymorphicComponentProps } from '@kalink-ui/dibbly'; import { ElementType } from 'react'; import { ClusterVariants } from './cluster.css'; import { clusterResponsive } from './cluster.responsive'; import type { Responsive } from '../../styles/responsive'; export type ClusterProps = PolymorphicComponentProps & Omit & { spacing?: Responsive>; justify?: Responsive>; align?: Responsive>; direction?: Responsive>; }; /** * A custom element for grouping items, with control over the margin between them * * https://every-layout.dev/layouts/cluster */ export function Cluster({ spacing, justify, align, direction, className, ...props }: ClusterProps) { const { use: Comp = 'div', ...rest } = props; return ( ); }