2.1.3 • Published 2 months ago
@brighthr/component-labsbetabadge v2.1.3
LabsBetaBadge
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-labsbetabadge
To implement the LabsBetaBadge component into your project you’ll need to add the import:
import LabsBetaBadge from '@brighthr/component-labsbetabadge';
After adding import into your project you can use it simply like:
<LabsBetaBadge />
Props
Name | Type | Default | Description |
---|---|---|---|
asButton | boolean | false | If true , adds clickable functionality and a button theme. |
labs | boolean | false | If true , sets the badge as 'labs' otherwise 'beta' will be shown. |
onClick | () => void | Function to handle onclick. | |
outlineButton | boolean | false | If true , gives the badge an outlined appearance. |
size | 'sm' 'base' 'lg' | 'base' | Sets the size of the badge. |
2.1.3
2 months ago
2.1.2
2 months ago
2.1.1
3 months ago
2.1.0
3 months ago
2.0.1
4 months ago
2.0.0
4 months ago
1.1.6
4 months ago
1.1.5
5 months ago
1.1.1
9 months ago
1.0.2
9 months ago
1.1.0
9 months ago
1.0.1
10 months ago
1.0.0
10 months ago
1.1.4
8 months ago
1.1.3
8 months ago
1.1.2
8 months ago
1.0.3
9 months ago
0.2.1
11 months ago
0.2.0
11 months ago
0.2.2
10 months ago
0.1.1
11 months ago
0.1.0
1 year ago
0.0.3
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago