This commit is contained in:
2026-11-29 07:30:49 +08:00
parent ea56e4cabd
commit 0026089761
71 changed files with 8054 additions and 1428 deletions
@@ -19,9 +19,9 @@ type VariantProps<V extends Record<string, Record<string, string>>> = Partial<{
[K in keyof V]: keyof V[K] | boolean;
}>;
export function createClassRecipe<V extends Record<string, Record<string, string>>>(
config: VariantsConfig<V>,
) {
export function createClassRecipe<
V extends Record<string, Record<string, string>>,
>(config: VariantsConfig<V>) {
return function (props: VariantProps<V> = {}): string {
const classes: string[] = [];