Change the double quotation marks of a string to single quotation marks

This commit is contained in:
zhangchenqi123 2023-10-20 16:56:07 +08:00
parent 1e9c7557b4
commit 7b1b08c552
1 changed files with 15 additions and 15 deletions

View File

@ -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>