!50 把字符串的双引号改成了单引号

Merge pull request !50 from Zhang Chenqi/master
This commit is contained in:
openInula-robot 2023-10-21 16:05:46 +00:00 committed by Gitee
commit abce74e13d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 15 additions and 15 deletions

View File

@ -17,25 +17,25 @@ export function Checkbox({ value }) {
return ( return (
<div <div
style={{ style={{
border: "1px solid black", border: '1px solid black',
borderRadius: "2px", borderRadius: '2px',
width: "0.75rem", width: '0.75rem',
height: "0.75rem", height: '0.75rem',
padding: "1px", padding: '1px',
backgroundColor: "white", backgroundColor: 'white',
display: "inline-block", display: 'inline-block',
position: "relative", position: 'relative',
cursor: "pointer", cursor: 'pointer',
verticalAlign: "sub", verticalAlign: 'sub',
marginBottom: "0.1rem" marginBottom: '0.1rem'
}} }}
> >
<div <div
style={{ style={{
width: "100%", width: '100%',
height: "100%", height: '100%',
backgroundColor: value? "black" : "white", backgroundColor: value? 'black' : 'white',
position: "relative" position: 'relative'
}} }}
></div> ></div>
</div> </div>