Skip to content

Commit

Permalink
Deprecate the isDisabled prop on ToolBardButton
Browse files Browse the repository at this point in the history
  • Loading branch information
lipemat committed Aug 21, 2024
1 parent b54fb4c commit 9482847
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wordpress__components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1324,9 +1324,11 @@ declare module '@wordpress/components' {
interface ToolbarButton extends ButtonButton {
// Only used if not in toolbar context, otherwise use preferred `className`.
containerClassName?: string;
title?: string;
disabled?: boolean;
isActive?: boolean;
/** @deprecated */
isDisabled?: boolean;
title?: string;
}

/**
Expand Down

0 comments on commit 9482847

Please sign in to comment.