Skip to content

Commit 7151fdb

Browse files
committed
chore: export compound variants type
1 parent f0419b4 commit 7151fdb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-with-class",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Utility methods to create primitive components with a set of classes, props or variants",
55
"main": "cjs/index.js",
66
"module": "dist/index.js",

src/WithClass.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,5 @@ type VariantProps<
262262
>]: VariantPropsNoDefaults<TVariants>[key]
263263
}
264264

265-
export type { WithClassInput, Variants, Defaults }
265+
export type { WithClassInput, Variants, Defaults, CompoundVariants, CompoundVariant }
266266
export { withClass }

0 commit comments

Comments
 (0)