feat: make base optional
This commit is contained in:
parent
8902e62a16
commit
bd19c4e837
@ -15,7 +15,7 @@ export function vcn<V extends Record<string, Record<string, string>>>({
|
|||||||
variants,
|
variants,
|
||||||
defaults,
|
defaults,
|
||||||
}: {
|
}: {
|
||||||
base: string;
|
base?: string | undefined;
|
||||||
variants: V;
|
variants: V;
|
||||||
defaults: {
|
defaults: {
|
||||||
[VariantKey in keyof V]: BooleanString<keyof V[VariantKey] & string>;
|
[VariantKey in keyof V]: BooleanString<keyof V[VariantKey] & string>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user