We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f0dcca + 4f1b84c commit 3acfe3fCopy full SHA for 3acfe3f
packages/bento-design-system/src/util/withBentoTheme.tsx
@@ -6,7 +6,7 @@ type WrapperProps = {
6
className?: string;
7
};
8
9
-export function withBentoTheme<Props extends JSX.IntrinsicAttributes>(
+export function withBentoTheme<Props extends {}>(
10
theme: BentoTheme,
11
Component: (props: Props) => JSX.Element,
12
wrapper?: WrapperProps
0 commit comments