mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
feat(file-uploader-button): support danger-tertiary
, danger-ghost
button variants (#1784)
This commit is contained in:
parent
50e1577d98
commit
709322c281
2 changed files with 9 additions and 1 deletions
|
@ -74,6 +74,8 @@
|
|||
class:bx--btn--tertiary="{kind === 'tertiary'}"
|
||||
class:bx--btn--ghost="{kind === 'ghost'}"
|
||||
class:bx--btn--danger="{kind === 'danger'}"
|
||||
class:bx--btn--danger-tertiary="{kind === 'danger-tertiary'}"
|
||||
class:bx--btn--danger-ghost="{kind === 'danger-ghost'}"
|
||||
on:keydown
|
||||
on:keydown="{({ key }) => {
|
||||
if (key === ' ' || key === 'Enter') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue