File size: 278 Bytes
1123781 |
1 2 3 4 5 6 7 8 |
<button class="button" on:click> <slot /> </button>
<style lang="postcss">
.button {
@apply rounded bg-gray-700 p-2 font-normal text-white hover:bg-gray-800 disabled:cursor-not-allowed disabled:bg-gray-300 dark:disabled:bg-gray-700 dark:disabled:text-black;
}
</style>
|