Skip to content

Commit

Permalink
Omit __experimentalIsFocusable from TS types
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Jul 3, 2024
1 parent 40bcb70 commit c985641
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/components/src/toolbar/toolbar-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ function useDeprecatedProps( {
}

function UnforwardedToolbarButton(
props: WordPressComponentProps< ToolbarButtonProps, typeof Button, false >,
props: Omit<
WordPressComponentProps< ToolbarButtonProps, typeof Button, false >,
'__experimentalIsFocusable' // ToolbarButton will always be focusable.
>,
ref: ForwardedRef< any >
) {
const {
Expand Down

0 comments on commit c985641

Please sign in to comment.