Skip to content

Commit c7d3224

Browse files
committed
update README.md
1 parent 91c8352 commit c7d3224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ interface $Attr {
209209
}
210210

211211
interface $Event {
212-
clickEvent?: Event; // event -> @clickEvent=""
212+
clickEvent?: ()=>void; // event -> @clickEvent=""
213213
}
214214

215215
export interface ButtonConfig {

0 commit comments

Comments
 (0)