1
0
Fork 0
mirror of synced 2024-09-16 17:29:39 +12:00
budibase/packages/standard-components/src/Icon.svelte

16 lines
381 B
Svelte
Raw Normal View History

2020-09-15 22:53:02 +12:00
<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")
2020-09-15 22:53:02 +12:00
export let icon = ""
export let size = "fa-lg"
export let color = "#000"
</script>
<i
style={`color: ${color};`}
class={`${icon} ${size}`} />