mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
feat(button): add iconPosition
This commit is contained in:
parent
bcc7058ddf
commit
01494e60ba
2 changed files with 29 additions and 2 deletions
5
types/index.d.ts
vendored
5
types/index.d.ts
vendored
|
@ -145,6 +145,11 @@ export class Button extends CarbonSvelteComponent {
|
|||
*/
|
||||
icon?: typeof import("carbon-icons-svelte/lib/Add16").default;
|
||||
|
||||
/**
|
||||
* Specify the position of the icon
|
||||
*/
|
||||
iconPosition?: "left" | "right";
|
||||
|
||||
/**
|
||||
* Specify the ARIA label for the button icon
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue