Skip to content

Commit b472d85

Browse files
committed
docs(customize/theme): fix example code in Option 2 section
1 parent 931be31 commit b472d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/docs/customize/theme/theme.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const customTheme: CustomFlowbiteTheme = {
5151

5252
export default function MyPage() {
5353
return (
54-
<Flowbite theme={customTheme}>
54+
<Flowbite theme={{ theme: customTheme }}>
5555
<Button color="primary">Click me</Button>
5656
</Flowbite>
5757
);

0 commit comments

Comments
 (0)