0.10.0 • Published 3 months ago
@equinor/fusion-react-button v0.10.0
@equinor/fusion-react-button
Default
Link
Icon
Icon toggle
Installation
npm install @equinor/fusion-react-button
Properties/Attributes
Name | Type | Default | Description |
---|---|---|---|
icon | string | '' | Icon to display, and aria-label value when label is not defined. |
label | string | '' | Label to display for the button, and aria-label . |
variant | ButtonVariant | 'contained' | Button variant to render, defaults to contained if no variant is defined. |
color | ButtonColor | 'primary' | Button color to render, defaults to primary if no color is defined. |
dense | boolean | false | Makes the button text and container slightly smaller. |
disabled | boolean | false | Disabled buttons cannot be interacted with and have no visual interaction effect. |
trailingIcon | boolean | false | When true , icon will be displayed after label . |
'expandContent' | boolean | false | When true , the space after the label and before any trailing icon, where default slotted content is rendered, is expanded to fit the available space inside the button. |
0.10.0
3 months ago
0.8.4
7 months ago
0.9.0
7 months ago
0.9.1
5 months ago
0.8.3
7 months ago
0.8.2
10 months ago
0.8.1
1 year ago
0.5.16
1 year ago
0.8.0
1 year ago
0.7.0
1 year ago
0.6.1
1 year ago
0.6.0
1 year ago
0.5.15
1 year ago
0.5.14
2 years ago
0.5.12
2 years ago
0.5.14-313.0
2 years ago
0.5.13
2 years ago
0.5.11
2 years ago
0.5.10
2 years ago
0.5.10-248.0
2 years ago
0.5.8
2 years ago
0.5.7
2 years ago
0.5.9
2 years ago
0.5.6
2 years ago
0.5.4
2 years ago
0.5.5
2 years ago
0.5.2-filter.4
3 years ago
0.5.2-filter.5
3 years ago
0.5.2-filter.6
3 years ago
0.5.2-filter.7
2 years ago
0.5.2-filter.0
3 years ago
0.5.2-filter.1
3 years ago
0.5.2-filter.2
3 years ago
0.5.2-filter.3
3 years ago
0.5.3
2 years ago
0.5.2
2 years ago
0.5.0
3 years ago
0.5.1
3 years ago
0.3.8
3 years ago
0.4.0
3 years ago
0.3.7
3 years ago
0.3.6
3 years ago
0.3.5
3 years ago
0.3.2
3 years ago
0.3.1
3 years ago
0.3.4
3 years ago
0.3.3
3 years ago
0.3.0
3 years ago
0.2.0
3 years ago