mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-08-29 21:32:59 +02:00
12 lines
234 B
Svelte
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>
|