budibase/packages/bbui/src/ClearButton/ClearButton.svelte

10 lines
336 B
Svelte

<script>
export let s = false;
export let disabled;
</script>
<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>
</button>