We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eadd98 commit f38ceaeCopy full SHA for f38ceae
packages/jacaranda/src/index.ts
@@ -96,7 +96,7 @@ export type VariantProps<Component extends (...args: any) => any> = Omit<
96
/**
97
* Creates a function that generates styles based on variants
98
*/
99
-export function styles<V extends VariantOptions<V>>(config: VariantStyleConfig<V>) {
+function styles<V extends VariantOptions<V>>(config: VariantStyleConfig<V>) {
100
type VariantProps = { [P in keyof V]: keyof V[P] | (string & {}) };
101
type DefaultProps = NonNullable<typeof config.defaultVariants>;
102
type Props = OptionalIfHasDefault<VariantProps, DefaultProps>;
0 commit comments