machineuser
Sync widgets demo
d738fa8
raw
history blame
272 Bytes
<script lang="ts">
export let isDisabled = false;
export let label = "Add Sentence";
</script>
{#if !isDisabled}
<!-- content here -->
<button class="btn-widget h-10 w-full px-5" disabled={isDisabled} on:click|preventDefault type="submit">
{label}
</button>
{/if}