mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
fixed Duplicate declaration h
This commit is contained in:
parent
908ac7a97e
commit
3d143eb78f
@ -21,7 +21,7 @@ storiesOf('Button', module)
|
||||
}))
|
||||
.add('with JSX', () => ({
|
||||
components: { MyButton },
|
||||
render() {
|
||||
render(h) {
|
||||
return <my-button onClick={this.action}>With JSX</my-button>;
|
||||
},
|
||||
methods: { action: linkTo('clicked') },
|
||||
|
Loading…
x
Reference in New Issue
Block a user