Files
cc-backend/web/frontend/src/filters/InfoBox.svelte
2022-06-22 11:20:57 +02:00

12 lines
234 B
Svelte

<script>
import { Button, Icon } from 'sveltestrap'
export let icon
export let modified = false
</script>
<Button outline color={modified ? 'warning' : 'primary'} on:click>
<Icon name={icon}/>
<slot />
</Button>