1
0
Fork 0
mirror of synced 2024-09-07 05:01:27 +12:00
budibase/packages/standard-components/src/Icon.svelte

15 lines
381 B
Svelte

<script>
import { getContext } from "svelte"
// Add this back once we can define specific design options to expose
// const { styleable } = getContext("sdk")
// const component = getContext("component")
export let icon = ""
export let size = "fa-lg"
export let color = "#000"
</script>
<i
style={`color: ${color};`}
class={`${icon} ${size}`} />