system-uicons/react/src/icons/check.js
2020-08-03 13:09:39 +08:00

38 lines
878 B
JavaScript

import React, { forwardRef } from 'react'
import PropTypes from 'prop-types'
const Check = forwardRef(
({ color = 'currentColor', size = 21, ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 21 21"
fill="none"
stroke={color}
strokeWidth="1"
strokeLinecap="round"
strokeLinejoin="round"
{...rest}
>
<path
d="m.5 5.5 3 3 8.028-8"
fill="none"
stroke={color}
transform="translate(5 6)"
strokeLinecap="round"
strokeLinejoin="round"
></path>
</svg>
)
}
)
Check.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
}
Check.displayName = 'Check'
export default Check