0.0.52 • Published 3 months ago
@real-system/checkbox v0.0.52
Installation
# install peer dependencies
# npm
$ npm install react react-dom @real-system/a11y-library @real-system/state-library @real-system/styled-library @real-system/typography @real-system/utils-library @real-system/elements-primitive
# yarn
$ yarn add react react-dom @real-system/a11y-library @real-system/state-library @real-system/styled-library @real-system/typography @real-system/utils-library @real-system/elements-primitive
# install checkbox
# npm
$ npm install @real-system/checkbox
# yarn
$ yarn add @real-system/checkbox
Code Example
import { Checkbox, CheckboxGroup } from '@real-system/checkbox';
const MyCheckbox = (args) => (
<Checkbox
helpText="Determines if the user has permission to add, edit and delete other users"
{...args}
/>
);
const MyCheckboxGroup = () => {
return (
<CheckboxGroup
label="What engineering level is the new team member?"
defaultValue={['associate']}
helpText="Select at least 1 level for the new engineer"
{...args}>
<CheckboxGroup.Item value="architect">Architect</CheckboxGroup.Item>
<CheckboxGroup.Item value="principle">Principle</CheckboxGroup.Item>
<CheckboxGroup.Item value="staff">Staff</CheckboxGroup.Item>
<CheckboxGroup.Item value="senior" disabled>
Senior
</CheckboxGroup.Item>
<CheckboxGroup.Item value="mid" disabled>
Mid
</CheckboxGroup.Item>
<CheckboxGroup.Item value="associate" disabled>
Associate
</CheckboxGroup.Item>
</CheckboxGroup>
);
};
0.0.52
3 months ago
0.0.51
3 months ago
0.0.50
4 months ago
0.0.49
4 months ago
0.0.46
7 months ago
0.0.47
7 months ago
0.0.48
7 months ago
0.0.42
2 years ago
0.0.43
1 year ago
0.0.44
1 year ago
0.0.45
1 year ago
0.0.40
2 years ago
0.0.41
2 years ago
0.0.37
2 years ago
0.0.38
2 years ago
0.0.39
2 years ago
0.0.31
2 years ago
0.0.32
2 years ago
0.0.33
2 years ago
0.0.34
2 years ago
0.0.35
2 years ago
0.0.36
2 years ago
0.0.22
2 years ago
0.0.23
2 years ago
0.0.24
2 years ago
0.0.25
2 years ago
0.0.30
2 years ago
0.0.26
2 years ago
0.0.27
2 years ago
0.0.28
2 years ago
0.0.29
2 years ago
0.0.20
2 years ago
0.0.21
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.12
2 years ago
0.0.14
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.0-20220130051114
2 years ago
0.0.0-20220130044606
2 years ago
0.0.0-next-20220130005939
2 years ago
0.0.0-next-20220130004926
2 years ago
0.0.0-next-20220129231735
2 years ago
0.0.0-next-20220129225534
2 years ago
0.0.6
2 years ago
0.0.0-next-20220128090736
2 years ago
0.0.0-next-20220128085747
2 years ago
0.0.0-20220128083632
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