css
Description
Optional. Adds a custom style to a buttonUsage
css?: string;
Example
<div class="demo-box">
<Button type={'primary'} css="my" {onclick}>Click Me</Button>
</div>
<style>
.demo-box :global(button.my){
background-color: gold;
}
</style>
Related article: Styling a button