Migrate from DaisyUI to SkeletonUI
This commit is contained in:
7
src/lib/components/Card.svelte
Normal file
7
src/lib/components/Card.svelte
Normal file
@ -0,0 +1,7 @@
|
||||
<script lang="ts">
|
||||
let { children, fullwidth = false, ...restProps } = $props();
|
||||
</script>
|
||||
|
||||
<div class="card bg-white p-2 shadow {fullwidth ? 'w-full' : 'w-auto'}" {...restProps}>
|
||||
{@render children()}
|
||||
</div>
|
||||
Reference in New Issue
Block a user