css
Description
Optional. Adds a custom CSS class to the iconUsage
css?: string;
Example
<script>
import { Icon } from "@svar-ui/svelte-core";
</script>
<!-- apply a custom size and color through a CSS class -->
<style>
.large-red {
font-size: 32px;
color: crimson;
}
</style>
<Icon css="large-red" title="Delete" onclick={() => alert("Deleted")} />