mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Update onClick type to allow void return
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
||||
| {
|
||||
text: string;
|
||||
disabled?: boolean;
|
||||
onClick?: () => boolean | Promise<boolean>;
|
||||
onClick?: () => boolean | void | Promise<boolean | void>;
|
||||
}
|
||||
| undefined;
|
||||
children?: Snippet;
|
||||
|
||||
Reference in New Issue
Block a user