Skip to content

Commit f38ceae

Browse files
committed
fix: non exporting styles function for single use
1 parent 8eadd98 commit f38ceae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jacaranda/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export type VariantProps<Component extends (...args: any) => any> = Omit<
9696
/**
9797
* Creates a function that generates styles based on variants
9898
*/
99-
export function styles<V extends VariantOptions<V>>(config: VariantStyleConfig<V>) {
99+
function styles<V extends VariantOptions<V>>(config: VariantStyleConfig<V>) {
100100
type VariantProps = { [P in keyof V]: keyof V[P] | (string & {}) };
101101
type DefaultProps = NonNullable<typeof config.defaultVariants>;
102102
type Props = OptionalIfHasDefault<VariantProps, DefaultProps>;

0 commit comments

Comments
 (0)