impr: merge mono-ui with photon (#455)

This commit is contained in:
Xylight authored and GitHub committed 2024-09-24 19:33:52 -07:00
1 parent 16075f72f2
commit 180d6fcc0d
40 files changed
+2024 -1

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<script lang="ts">
import { Material } from '../index.js'
import { Icon, InformationCircle } from 'svelte-hero-icons'
export let content: string | undefined = undefined
</script>
<Material padding="sm" class="flex flex-row space-x-2 items-center">
<Icon src={InformationCircle} size="18" mini />
<p>
{#if $$slots.default}
<slot />
{:else if content}
{content}
{/if}
</p>
</Material>