We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d1172 commit b5a4801Copy full SHA for b5a4801
src/lib/stories/components/Form/Button/Button.svelte
@@ -60,6 +60,8 @@
60
class?: string;
61
/** The onclick event handler */
62
onclick?: MouseEventHandler<HTMLButtonElement>;
63
+ /** Aria label */
64
+ 'aria-label'?: string;
65
/** Turn Button into link */
66
href?: string;
67
/** Link button: download */
@@ -101,6 +103,7 @@
101
103
onclick,
102
104
before,
105
after,
106
+ 'aria-label': ariaLabel,
107
href,
108
download,
109
hreflang,
@@ -145,6 +148,7 @@
145
148
{target}
146
149
type={anchorMediaType}
147
150
{referrerpolicy}
151
+ aria-label={ariaLabel}
152
class:outline
153
class:compact
154
class:disabled
@@ -166,6 +170,7 @@
166
170
167
171
168
172
class:fullWidth
173
169
174
class={[
175
'dodo-ui-Button',
176
`size--${size}`,
0 commit comments