8000
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 b362372 commit b5e274dCopy full SHA for b5e274d
src/index.tsx
@@ -49,6 +49,11 @@ type Twc<TCompose extends AbstractCompose> = (<T extends React.ElementType>(
49
50
type ShouldForwardProp = (prop: string) => boolean;
51
52
+export type TwcComponentProps<
53
+ TComponent extends React.ElementType,
54
+ TCompose extends AbstractCompose = typeof 545F clsx,
55
+> = ResultProps<TComponent, undefined, { asChild?: boolean }, TCompose>;
56
+
57
export type Config<TCompose extends AbstractCompose> = {
58
/**
59
* The compose function to use. Defaults to `clsx`.
0 commit comments