File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
templates/component-mapper/src/files Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -21,24 +21,23 @@ const SingleCheckbox = (props) => {
21
21
return (
22
22
< React . Fragment >
23
23
< label htmlFor = { name } > { label } </ label >
24
- < input { ...input } id = { name } type = "checkbox" disabled = { isDisabled } />
24
+ < input { ...input } type = "checkbox" disabled = { isDisabled } />
25
25
</ React . Fragment >
26
26
) ;
27
27
} ;
28
28
29
- const SingleCheckboxInCommon = ( { label, isDisabled, id , ...props } ) => (
29
+ const SingleCheckboxInCommon = ( { label, isDisabled, ...props } ) => (
30
30
< React . Fragment >
31
- < label htmlFor = { id } > { label } </ label >
32
- < input { ...props } id = { id } type = "checkbox" disabled = { isDisabled } />
31
+ < label htmlFor = { props . name } > { label } </ label >
32
+ < input { ...props } type = "checkbox" disabled = { isDisabled } />
33
33
</ React . Fragment >
34
34
) ;
35
35
36
36
SingleCheckboxInCommon . propTypes = {
37
37
label : PropTypes . node ,
38
38
input : PropTypes . object ,
39
39
isDisabled : PropTypes . bool ,
40
- name : PropTypes . string ,
41
- id : PropTypes . string
40
+ name : PropTypes . string
42
41
} ;
43
42
44
43
const Checkbox = ( { options, ...props } ) =>
Original file line number Diff line number Diff line change @@ -6049,6 +6049,14 @@ chalk@^1.1.1, chalk@^1.1.3:
6049
6049
strip-ansi "^3.0.0"
6050
6050
supports-color "^2.0.0"
6051
6051
6052
+ chalk@^3.0.0:
6053
+ version "3.0.0"
6054
+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
6055
+ integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==
6056
+ dependencies:
6057
+ ansi-styles "^4.1.0"
6058
+ supports-color "^7.1.0"
6059
+
6052
6060
chalk@^4.0.0:
6053
6061
version "4.0.0"
6054
6062
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72"
@@ -21465,7 +21473,7 @@ yargs@^14.0.0, yargs@^14.2.0:
21465
21473
y18n "^4.0.0"
21466
21474
yargs-parser "^15.0.0"
21467
21475
21468
- yargs@^15.0.1:
21476
+ yargs@^15.0.1, yargs@^15.3.1 :
21469
21477
version "15.3.1"
21470
21478
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b"
21471
21479
integrity sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==
You can’t perform that action at this time.
0 commit comments