shadcn-react
Version:
A simple wrapper for shadcn/ui
4 lines (3 loc) • 308 B
TypeScript
import { type ClassValue } from 'clsx';
export declare function cn(...inputs: ClassValue[]): string;
export declare function mapFormProps<Props, ValuePropName extends keyof Props, OnChangePropsName extends keyof Props>(props: Props, valuePropName: ValuePropName, onChangePropName: OnChangePropsName): Props;