implements ClearButton

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-21 14:09:56 +02:00
parent 8d80c007f3
commit 937bd03af5
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<script>
export let disabled;
</script>
<button on:click class="spectrum-ClearButton" {disabled}>
<svg class="spectrum-Icon spectrum-UIIcon-Cross75" focusable="false" aria-hidden="true">
<use xlink:href="#spectrum-css-icon-Cross75" />
</svg>
</button>

View File

@ -15,6 +15,7 @@ export { default as ActionButton } from "./ActionButton/ActionButton.svelte"
export { default as ActionGroup } from "./ActionGroup/ActionGroup.svelte"
export { default as ActionMenu } from "./ActionMenu/ActionMenu.svelte"
export { default as Button } from "./Button/Button.svelte"
export { default as ClearButton } from "./ClearButton/ClearButton.svelte"
export { default as Icon, directions } from "./Icon/Icon.svelte"
export { default as Toggle } from "./Form/Toggle.svelte"
export { default as RadioGroup } from "./Form/RadioGroup.svelte"