Change the double quotation marks of a string to single quotation marks
This commit is contained in:
parent
1e9c7557b4
commit
7b1b08c552
|
@ -17,25 +17,25 @@ export function Checkbox({ value }) {
|
|||
return (
|
||||
<div
|
||||
style={{
|
||||
border: "1px solid black",
|
||||
borderRadius: "2px",
|
||||
width: "0.75rem",
|
||||
height: "0.75rem",
|
||||
padding: "1px",
|
||||
backgroundColor: "white",
|
||||
display: "inline-block",
|
||||
position: "relative",
|
||||
cursor: "pointer",
|
||||
verticalAlign: "sub",
|
||||
marginBottom: "0.1rem"
|
||||
border: '1px solid black',
|
||||
borderRadius: '2px',
|
||||
width: '0.75rem',
|
||||
height: '0.75rem',
|
||||
padding: '1px',
|
||||
backgroundColor: 'white',
|
||||
display: 'inline-block',
|
||||
position: 'relative',
|
||||
cursor: 'pointer',
|
||||
verticalAlign: 'sub',
|
||||
marginBottom: '0.1rem'
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
backgroundColor: value? "black" : "white",
|
||||
position: "relative"
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
backgroundColor: value? 'black' : 'white',
|
||||
position: 'relative'
|
||||
}}
|
||||
></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue