mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
export an "icon only variant" option
This commit is contained in:
parent
43b3029d50
commit
502585601e
2 changed files with 18 additions and 3 deletions
6
types/Button/Button.svelte.d.ts
vendored
6
types/Button/Button.svelte.d.ts
vendored
|
@ -38,6 +38,12 @@ export interface ButtonProps
|
|||
*/
|
||||
isSelected?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` for the icon-only variant
|
||||
* @default false
|
||||
*/
|
||||
iconOnly?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
* @default undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue