Update comment

Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
Robin
2023-09-18 09:14:46 -04:00
committed by GitHub
parent f609ec3f4c
commit d9ac072663

View File

@@ -45,7 +45,7 @@ export interface ModalProps extends AriaDialogProps {
*/
// An option to leave the open state uncontrolled is intentionally not
// provided, since modals are always opened due to external triggers, and it
// is the author's belief that controlled components lead to more obvious code
// is the author's belief that controlled components lead to more obvious code.
open: boolean;
/**
* Callback for when the user dismisses the modal. If undefined, the modal