3.0.4 • Published 27 days ago

@brighthr/component-radio-block v3.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
27 days ago

RadioBlock

To install, type the following into the command line at the root of your project:

npm i @brighthr/component-radio-block

To 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

NameTypeDefaultDescription
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.
badgeTextstringstringSets the text inside the badge, if showBadge is true.
checkedbooleanfalseIf true, the RadioBlock will show as selected.
descriptionstringSets the description text.
disabledbooleanfalseIf true, disables the RadioBlock.
iconNamestringIf an iconName is provided, the relevant icon will be shown.
showBadgebooleanfalseIf true, shows a badge.
titlestringSets the title text.
3.0.4

27 days ago

3.0.3

3 months ago

3.0.2

3 months ago

3.0.1

4 months ago

3.0.0

4 months ago

2.0.7

4 months ago

2.0.6

5 months ago

2.0.5

5 months ago

2.0.4

5 months ago

1.2.0

8 months ago

1.1.1

9 months ago

1.0.2

10 months ago

1.1.0

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago

1.3.2

8 months ago

1.3.1

8 months ago

1.0.4

9 months ago

1.3.0

8 months ago

1.1.2

9 months ago

1.0.3

9 months ago

2.0.3

6 months ago

2.0.2

6 months ago

2.0.1

7 months ago

2.0.0

8 months ago

0.1.0

10 months ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago