Skip to content

Commit

Permalink
Fix withBentoConfig utility
Browse files Browse the repository at this point in the history
  • Loading branch information
federico-ercoles committed Sep 21, 2023
1 parent 636e908 commit dbe701e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bento-design-system/src/util/withBentoConfig.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PartialBentoConfig } from "..";
import { BentoConfigProvider } from "../BentoConfigContext";

export function withBentoConfig<Props extends JSX.IntrinsicAttributes>(
export function withBentoConfig<Props extends {}>(
config: PartialBentoConfig,
Component: (props: Props) => JSX.Element
): (props: Props) => JSX.Element {
Expand Down

0 comments on commit dbe701e

Please sign in to comment.