Skip to content

Commit

Permalink
Support "firstElement" and "firstContentElement" in Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lipemat committed Oct 16, 2023
1 parent db4f7e1 commit 9b7ab1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordpress__components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ declare module '@wordpress/components' {
'aria.labelledby'?: string;
className?: string;
contentLabel?: string;
focusOnMount?: boolean;
focusOnMount?: boolean | 'firstElement' | 'firstContentElement';
isDismissible?: boolean;
isFullScreen?: boolean;
onRequestClose: () => void;
Expand Down

0 comments on commit 9b7ab1a

Please sign in to comment.