Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Aug 5, 2022
1 parent b8c4938 commit 7f1b071
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sandpack-react/src/themes/ExternalThemes.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,11 @@ import { Sandpack } from "../";
const stories = storiesOf("presets/Themes (external)", module);

Object.entries(allThemes).forEach(([themeName, value]) =>
stories.add(themeName, () => <Sandpack theme={value} />)
stories.add(themeName, () => (
<Sandpack
options={{ showInlineErrors: true }}
template="react"
theme={value}
/>
))
);

0 comments on commit 7f1b071

Please sign in to comment.