rework ClearButton
This commit is contained in:
parent
6e36a337f7
commit
19052a66a5
|
@ -1,10 +1,19 @@
|
||||||
<script>
|
<script>
|
||||||
export let s = false;
|
export let small = false
|
||||||
export let disabled;
|
export let disabled
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<button on:click class="spectrum-ClearButton" class:spectrum-ClearButton--small={s} {disabled}>
|
<button
|
||||||
<svg class="spectrum-Icon spectrum-UIIcon-Cross75" focusable="false" aria-hidden="true">
|
on:click
|
||||||
|
class="spectrum-ClearButton"
|
||||||
|
class:spectrum-ClearButton--small={small}
|
||||||
|
{disabled}
|
||||||
|
>
|
||||||
|
<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>
|
||||||
</button>
|
</button>
|
Loading…
Reference in New Issue