Skip to content

Commit

Permalink
feat(mellow-svelte): modify component to forward on click event to pa…
Browse files Browse the repository at this point in the history
…rent
  • Loading branch information
DominusKelvin committed Sep 23, 2024
1 parent fef739f commit f4d00df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<script>
export let processing = false
export { className as class }
let className = ''
</script>

<button
type="submit"
class={`relative flex items-center justify-center rounded-md border border-brand bg-brand px-4 py-3 text-white disabled:cursor-not-allowed disabled:border-gray-200/40 disabled:bg-gray-200/40 disabled:text-gray ${className}`}
on:click
{...$$restProps}
>
{#if processing}
Expand Down

0 comments on commit f4d00df

Please sign in to comment.