Commit 649a988
fix(inlinecheckbox): export inlinecheckbox (#22263)
* fix(inlinecheckbox): export inlinecheckbox
For some reason InlineCheckbox is not publicly exported, although
InlineCheckboxProps is. Our code has been importing it like:
import InlineCheckbox from '@carbon/react/lib/components/InlineCheckbox';
but of course that's not proper.
Refs #562 (because that's where InlineCheckbox was added).
* fix(inlinecheckbox): update tests
---------
Co-authored-by: Sangeetha Babu <sangeetha9223@gmail.com>
Co-authored-by: Heloise Lui <71858203+heloiselui@users.noreply.github.com>
Co-authored-by: Riddhi Bansal <41935566+riddhybansal@users.noreply.github.com>1 parent 2d98f4e commit 649a988
3 files changed
Lines changed: 42 additions & 0 deletions
File tree
- packages/react
- __tests__/__snapshots__
- src
- __tests__
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6015 | 6015 | | |
6016 | 6016 | | |
6017 | 6017 | | |
| 6018 | + | |
| 6019 | + | |
| 6020 | + | |
| 6021 | + | |
| 6022 | + | |
| 6023 | + | |
| 6024 | + | |
| 6025 | + | |
| 6026 | + | |
| 6027 | + | |
| 6028 | + | |
| 6029 | + | |
| 6030 | + | |
| 6031 | + | |
| 6032 | + | |
| 6033 | + | |
| 6034 | + | |
| 6035 | + | |
| 6036 | + | |
| 6037 | + | |
| 6038 | + | |
| 6039 | + | |
| 6040 | + | |
| 6041 | + | |
| 6042 | + | |
| 6043 | + | |
| 6044 | + | |
| 6045 | + | |
| 6046 | + | |
| 6047 | + | |
| 6048 | + | |
| 6049 | + | |
| 6050 | + | |
| 6051 | + | |
| 6052 | + | |
| 6053 | + | |
| 6054 | + | |
| 6055 | + | |
| 6056 | + | |
| 6057 | + | |
6018 | 6058 | | |
6019 | 6059 | | |
6020 | 6060 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments