feat(button): add isSelected prop for icon-only, ghost buttons

This commit is contained in:
Eric Y Liu 2021-03-05 14:17:29 -08:00
commit 5f3450839a
5 changed files with 36 additions and 0 deletions

View file

@ -26,6 +26,12 @@ export interface ButtonProps
*/
size?: "default" | "field" | "small";
/**
* Set to `true` to enable the selected state for an icon-only, ghost button
* @default false
*/
isSelected?: boolean;
/**
* Set to `true` for the icon-only variant
* @default false