mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
feat(button): add "danger-tertiary", "danger-ghost" kinds
This commit is contained in:
parent
4356ef47bf
commit
55214aa38b
5 changed files with 42 additions and 27 deletions
9
types/index.d.ts
vendored
9
types/index.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue