fix(button): remove redundant "button" role

This commit is contained in:
Eric Y Liu 2021-03-12 15:55:49 -08:00
commit 0a4465025f

View file

@ -90,7 +90,6 @@
} }
$: hasIconOnly = icon && !$$slots.default; $: hasIconOnly = icon && !$$slots.default;
$: buttonProps = { $: buttonProps = {
role: "button",
type: href && !disabled ? undefined : type, type: href && !disabled ? undefined : type,
tabindex, tabindex,
disabled, disabled,