add size prop to ClearButton
This commit is contained in:
parent
f1a793ce2a
commit
6c8b18bcb2
|
@ -1,8 +1,9 @@
|
||||||
<script>
|
<script>
|
||||||
|
export let s = false;
|
||||||
export let disabled;
|
export let disabled;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<button on:click class="spectrum-ClearButton" {disabled}>
|
<button on:click class="spectrum-ClearButton" class:spectrum-ClearButton--small={s} {disabled}>
|
||||||
<svg class="spectrum-Icon spectrum-UIIcon-Cross75" focusable="false" aria-hidden="true">
|
<svg class="spectrum-Icon spectrum-UIIcon-Cross75" focusable="false" aria-hidden="true">
|
||||||
<use xlink:href="#spectrum-css-icon-Cross75" />
|
<use xlink:href="#spectrum-css-icon-Cross75" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Loading…
Reference in New Issue