0.3.0 • Published 4 years ago
@simplr-wc/icon-button v0.3.0
Simplr Icon Button
Usage
Import
// Icon
import '@simplr-wc/icon-button'
Use
<simplr-icon-button></simplr-icon-button>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
color | color | string | "inherit" | Use custom color on button |
disabled | disabled | boolean | false | Is the button disabled |
icon | icon | string | "" | Icon displayed as a button |
primary | primary | boolean | false | Use primary styles on button |
secondary | secondary | boolean | false | Use secondary styles on button |
size | size | string | "initial" | Size of the icon |