[new feature] Notify: add onClick event

This commit is contained in:
陈嘉涵
2019-05-01 09:17:59 +08:00
parent 848786dd6e
commit 210122d518
8 changed files with 34 additions and 3 deletions
+3
View File
@@ -41,6 +41,9 @@ function Notify(
onInput={(value: boolean) => {
emit(ctx, 'input', value);
}}
onClick={(event: Event) => {
emit(ctx, 'click', event);
}}
{...inherit(ctx)}
>
{props.message}