import React from 'react'; import { cn } from '@/lib/cn'; type Props = { as?: E; isLight?: boolean; } & Omit, 'as' | 'isLight'>; const Label = ({ as, isLight, className, ...props }: Props) => { const Component = (as || 'label') as React.ElementType; return ( ); }; export default Label;