2020-05-05 17:50:40 +02:00

32 lines
683 B
JavaScript

import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
const Check = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...rest}
>
<polyline points="20 6 9 17 4 12" />
</svg>
);
});
Check.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Check.displayName = 'Check';
export default Check;