Skip to content

Commit

Permalink
fix(generator): storybook v7 template lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrieLii committed Nov 27, 2023
1 parent e387aa4 commit 9da4e07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/nine-singers-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/storybook-next-generator': patch
---

fix(generator): storybook v7 template lint error
fix(generator): storybook v7 模板 lint 报错
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Component = ({ backgroundColor, color }) => (
<button style=\{{ backgroundColor, color }}>this is a Story Component</button>
<button type="button" style=\{{ backgroundColor, color }}>this is a Story Component</button>
);

export default {
Expand Down

0 comments on commit 9da4e07

Please sign in to comment.