2020-09-15 12:53:02 +02:00
|
|
|
<script>
|
2020-11-18 22:06:12 +01:00
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
2020-11-20 10:50:10 +01:00
|
|
|
const { styleable } = getContext("sdk")
|
2020-11-24 12:02:10 +01:00
|
|
|
const component = getContext("component")
|
2020-09-15 12:53:02 +02:00
|
|
|
|
|
|
|
export let icon = ""
|
|
|
|
export let size = "fa-lg"
|
|
|
|
export let color = "#000"
|
|
|
|
</script>
|
|
|
|
|
2020-11-18 22:06:12 +01:00
|
|
|
<i
|
|
|
|
style={`color: ${color};`}
|
|
|
|
class={`${icon} ${size}`}
|
2020-11-24 12:02:10 +01:00
|
|
|
use:styleable={$component.styles} />
|