mm
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user