Add OwlBoard API Library

Add styling to UI Components
This commit is contained in:
2026-03-19 10:59:25 +00:00
parent d9b60daa8b
commit deb151075a
8 changed files with 81 additions and 13 deletions

View File

@@ -3,6 +3,8 @@ import BaseCard from '$lib/components/ui/cards/BaseCard.svelte';
import Textbox from '$lib/components/ui/Textbox.svelte';
import Button from '$lib/components/ui/Button.svelte';
let { onsearch }: { onsearch: (c: string) => void } = $props();
let codeValue = $state('');
function resetValues(): void {
@@ -18,7 +20,7 @@ function resetValues(): void {
</div>
</div>
<div class="button-wrapper">
<Button>Search</Button>
<Button onclick={() => onsearch(codeValue.toString())}>Search</Button>
<Button onclick={resetValues}>Reset</Button>
</div>
</div>