Skip to content

Commit e1f0e65

Browse files
committed
update README.md
1 parent 3b796cf commit e1f0e65

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,17 @@ interface RotateEvents {
197197

198198
### params
199199
```ts
200-
interface _ {
201-
config?: ButtonConfig;
202-
clickEvent?: () => void; // event -> @clickEvent=""
200+
interface $Attr {
201+
config?: CaptchaConfig;
203202
disabled?: boolean;
204203
type?: "default" | "warn" | "error" | "success";
205204
title?: string;
206205
}
207206

207+
interface $Event {
208+
clickEvent?: Event; // event -> @clickEvent=""
209+
}
210+
208211
export interface ButtonConfig {
209212
width?: number;
210213
height?: number;

0 commit comments

Comments
 (0)