Skip to content

Commit cebcb9a

Browse files
authored
Properties must be hyphenated in html
1 parent 6590d56 commit cebcb9a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ yarn add vue-picture-input
2525
<template>
2626
<div class="hello">
2727
<picture-input
28-
ref="pictureInput"
29-
@change="onChange"
28+
ref="pictureInput"
3029
width="600"
3130
height="600"
3231
margin="16"
3332
accept="image/jpeg,image/png"
3433
size="10"
35-
buttonClass="btn"
36-
:customStrings="{
34+
button-class="btn"
35+
:custom-strings="{
3736
upload: '<h1>Bummer!</h1>',
3837
drag: 'Drag a 😺 GIF or GTFO'
39-
}">
38+
}"
39+
@change="onChange">
4040
</picture-input>
4141
</div>
4242
</template>

0 commit comments

Comments
 (0)