feat(button): add "danger-tertiary", "danger-ghost" kinds

This commit is contained in:
Eric Liu 2020-10-29 13:31:18 -07:00
commit 55214aa38b
5 changed files with 42 additions and 27 deletions

9
types/index.d.ts vendored
View file

@ -166,7 +166,14 @@ export class Button extends CarbonSvelteComponent {
* Specify the kind of button
* @default "primary"
*/
kind?: "primary" | "secondary" | "tertiary" | "ghost" | "danger";
kind?:
| "primary"
| "secondary"
| "tertiary"
| "ghost"
| "danger"
| "danger-tertiary"
| "danger-ghost";
/**
* Specify the size of button