Skip to content

Commit

Permalink
feat(checkbox): update iOS icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 27, 2021
1 parent 1cda8b8 commit 8407bb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/react/components/Checkbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const Checkbox = (props) => {
},
indeterminateIcon: {
common: 'bg-white w-3/4',
ios: 'h-0.25',
ios: 'h-0.5 rounded-full',
material: 'h-0.5',
},
input: 'hidden',
Expand Down
12 changes: 7 additions & 5 deletions src/react/components/icons/CheckboxIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ const CheckboxIcon = (props) => {
return theme === 'ios' ? (
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="9"
viewBox="0 0 12 9"
width="20"
height="20"
viewBox="0 0 20 20"
fill="currentcolor"
{...rest}
>
<polygon
<path
fill={fill}
points="12 .7 11.3 0 3.9 7.4 .7 4.2 0 4.9 3.9 8.8 3.9 8.8 3.9 8.8"
fillRule="evenodd"
d="M10.6461792,0.119820016 C11.0022676,0.346673312 11.1070333,0.819240884 10.88018,1.17532923 L5.59004012,9.47918548 C5.44456028,9.70754308 5.19802823,9.83254199 4.94596825,9.83309245 C4.59813173,9.83364386 4.39457446,9.67360825 4.28105047,9.53831563 L1.17887189,5.84128316 C0.907480501,5.5178515 0.949667479,5.03565214 1.27309914,4.76426075 C1.59653081,4.49286936 2.07873017,4.53505633 2.35012156,4.858488 L4.8346263,7.81909046 L9.59067001,0.353820775 C9.81752331,-0.00226757161 10.2900909,-0.10703328 10.6461792,0.119820016 Z"
transform="translate(4 5.483)"
/>
</svg>
) : (
Expand Down

0 comments on commit 8407bb5

Please sign in to comment.