3.0.11 • Published 1 year ago
@brighthr/component-radio-block v3.0.11
RadioBlock
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-radio-blockTo implement the RadioBlock component into your project you’ll need to add the import:
import RadioBlock from '@brighthr/component-radio-block';After adding import into your project you can use it simply like:
<RadioBlock/>Props
| Name | Type | Default | Description |
|---|---|---|---|
| alignContent | 'left' 'center' | 'center' | Sets the horizontal alignment. Left alignment is not compatible with having an icon. |
| alignItems | 'normal' 'center' | 'normal' | Sets the vertical alignment. |
| badgeStatus | 'default' 'information' 'success' 'warning' 'error' | Sets the appearance of the badge, if showBadge is true. | |
| badgeText | string | string | Sets the text inside the badge, if showBadge is true. |
| checked | boolean | false | If true, the RadioBlock will show as selected. |
| description | string | Sets the description text. | |
| disabled | boolean | false | If true, disables the RadioBlock. |
| iconName | string | If an iconName is provided, the relevant icon will be shown. | |
| showBadge | boolean | false | If true, shows a badge. |
| title | string | Sets the title text. |
3.0.11
1 year ago
3.0.9
1 year ago
3.0.10
1 year ago
3.0.8
1 year ago
3.0.7
1 year ago
3.0.6
1 year ago
3.0.5
1 year ago
3.0.4
2 years ago
3.0.3
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.3.2
2 years ago
1.3.1
2 years ago
1.0.4
2 years ago
1.3.0
2 years ago
1.1.2
2 years ago
1.0.3
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
0.1.0
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago