Skip to content

Commit

Permalink
Merge pull request #810 from buildo/Fix-withBentoTheme-types
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro authored Nov 22, 2023
2 parents 1f0dcca + 4f1b84c commit 3acfe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bento-design-system/src/util/withBentoTheme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type WrapperProps = {
className?: string;
};

export function withBentoTheme<Props extends JSX.IntrinsicAttributes>(
export function withBentoTheme<Props extends {}>(
theme: BentoTheme,
Component: (props: Props) => JSX.Element,
wrapper?: WrapperProps
Expand Down

0 comments on commit 3acfe3f

Please sign in to comment.