parent
72f31aff63
commit
1660c8ec32
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
||||
<script>
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
function onClick(event) {
|
||||
dispatch('button-click', event.detail);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<button class="bg-gray-800 py-2 px-4 rounded-md text-gray-200 hover:bg-gray-700" on:click={onClick}>
|
||||
<slot/>
|
||||
</button>
|
@ -0,0 +1,2 @@
|
||||
<nav>
|
||||
</nav>
|
@ -1,3 +1,4 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
|
Loading…
Reference in new issue