2020-02-03 19:38:09 +01:00
|
|
|
<script>
|
2020-02-25 16:21:23 +01:00
|
|
|
export let icon = ""
|
2020-03-03 16:23:03 +01:00
|
|
|
export let context = ""
|
2020-02-03 19:38:09 +01:00
|
|
|
|
2020-04-14 15:15:32 +02:00
|
|
|
let cls = !!context ? `material-icons mdc-${context}` : "material-icons"
|
2020-02-03 19:38:09 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<i class={cls}>{icon}</i>
|