add size prop to ClearButton
This commit is contained in:
parent
81f2e14172
commit
7229bdbaa3
|
@ -1,8 +1,9 @@
|
|||
<script>
|
||||
export let s = false;
|
||||
export let disabled;
|
||||
</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">
|
||||
<use xlink:href="#spectrum-css-icon-Cross75" />
|
||||
</svg>
|
||||
|
|
Loading…
Reference in New Issue