refactor: omit undefined in preset
This commit is contained in:
parent
9aa861fe19
commit
35959233f6
@ -94,7 +94,7 @@ export function vcn<V extends VariantType, N extends string>({
|
||||
(
|
||||
variantProps: Partial<VariantKV<V>> & {
|
||||
className?: string;
|
||||
preset?: N | undefined;
|
||||
preset?: N;
|
||||
}
|
||||
) => string,
|
||||
<AnyPropBeforeResolve extends Record<string, any>>(
|
||||
|
Loading…
x
Reference in New Issue
Block a user