budibase/packages/standard-components/src/Icon.svelte

10 lines
219 B
Svelte

<script>
import "@fortawesome/fontawesome-free/js/all.js"
export let icon = ""
export let size = "fa-lg"
export let color = "#000"
</script>
<i style={`color: ${color};`} class={`${icon} ${size}`} />