Разделил блок с информацией
This commit is contained in:
parent
84512c7a9b
commit
89211b3e22
3 changed files with 39 additions and 10 deletions
12
src/lib/components/WarningBlock.svelte
Normal file
12
src/lib/components/WarningBlock.svelte
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<script lang="ts">
|
||||
import IconBlock from './IconBlock.svelte';
|
||||
</script>
|
||||
|
||||
<IconBlock
|
||||
bgStrong="bg-amber-500"
|
||||
bgBleak="bg-amber-50"
|
||||
icon="material-symbols:warning"
|
||||
caption="Внимание"
|
||||
>
|
||||
<slot />
|
||||
</IconBlock>
|
||||
Loading…
Add table
Add a link
Reference in a new issue