import * as React from 'react';
import PropTypes from 'prop-types';
import Icon40PropValues from '../_defaultIconPropValues.ts';

const Check = (props) => {
    const {
        width = Icon40PropValues.width,
        height = Icon40PropValues.height,
        stroke = Icon40PropValues.stroke,
        fill = Icon40PropValues.fill,
        ...restProps
    } = props;

    return (
        <svg
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 24 24"
            width={width}
            height={height}
            {...restProps}
            fill="none"
        >
            <path
                fill={fill}
                stroke={stroke}
                strokeWidth={0.4}
                d="M9 19.5a.98.98 0 0 1-.675-.265l-6-5.5a1.003 1.003 0 0 1-.06-1.415 1.003 1.003 0 0 1 1.415-.06l5.265 4.825L20.27 4.815a1.002 1.002 0 0 1 1.47 1.36l-12 13a.99.99 0 0 1-.735.32z"
            />
        </svg>
    );
};

Check.propTypes = {
    width: PropTypes.string,
    height: PropTypes.string,
    fill: PropTypes.string,
    stroke: PropTypes.string,
};
export default Check;
