mirror of
https://github.com/youzan/vant.git
synced 2026-05-05 01:00:55 +08:00
[new feature] Notify: add onClick event
This commit is contained in:
@@ -41,6 +41,9 @@ function Notify(
|
||||
onInput={(value: boolean) => {
|
||||
emit(ctx, 'input', value);
|
||||
}}
|
||||
onClick={(event: Event) => {
|
||||
emit(ctx, 'click', event);
|
||||
}}
|
||||
{...inherit(ctx)}
|
||||
>
|
||||
{props.message}
|
||||
|
||||
Reference in New Issue
Block a user