fixed Duplicate declaration h

This commit is contained in:
yige 2018-04-12 22:27:31 +08:00
parent 908ac7a97e
commit 3d143eb78f

View File

@ -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') },