feat(button): add iconPosition

This commit is contained in:
albert 2020-10-04 18:27:01 +02:00
commit 01494e60ba
2 changed files with 29 additions and 2 deletions

5
types/index.d.ts vendored
View file

@ -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
*/