Add: Tabler Icon system
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<script>
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
export let name;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
*/
|
||||
export let size = 16;
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
export let color;
|
||||
</script>
|
||||
|
||||
<svg viewBox="0 0 24 24" width={size} height={size} {...$$restProps} style="color: {color}; {$$props.style || ""}">
|
||||
<use href="/icon/{name}.svg#icon"></use>
|
||||
</svg>
|
||||
Reference in New Issue
Block a user