css
Description
Adds a custom style to the Avatar control.Usage
css?: string;
Example
<div class="demo-box">
<Avatar value={user} css="my-class" />
</div>
<style>
.demo-box :global(.my-class) {
background-color: gold;
}
</style>
Related article: Styling an avatar