fix(baseModal): update onChangeOpenModal prop type to accept an optional boolean parameter to improve flexibility and avoid potential errors
This commit is contained in:
parent
6fd2b0c743
commit
fdde05d29e
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ interface BaseModalProps {
|
|||
| "medium-h-full";
|
||||
|
||||
disable?: boolean;
|
||||
onChangeOpenModal?: (open: boolean) => void;
|
||||
onChangeOpenModal?: (open?: boolean) => void;
|
||||
}
|
||||
function BaseModal({
|
||||
open,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue