nexxtway/react-rainbow

View on GitHub
src/components/PhoneInput/flags/Chad.js

Summary

Maintainability
B
5 hrs
Test Coverage
import React from 'react';
import PropTypes from 'prop-types';

function SvgChad({ className, style }) {
    return (
        <svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
            <g fillRule="nonzero" fill="none">
                <path
                    d="M16 0c-1.957 0-3.832.352-5.565.995L9.739 16l.696 15.005c1.733.643 3.608.995 5.565.995 1.957 0 3.832-.352 5.565-.995L22.261 16 21.565.995A15.966 15.966 0 0016 0z"
                    fill="#FFDA44"
                />
                <path
                    d="M32 16C32 9.12 27.658 3.256 21.565.995v30.01C27.658 28.745 32 22.879 32 16z"
                    fill="#D80027"
                />
                <path
                    d="M10.435 31.005V.995C4.342 3.255 0 9.121 0 16c0 6.88 4.342 12.744 10.435 15.005z"
                    fill="#0052B4"
                />
            </g>
        </svg>
    );
}
SvgChad.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
};

SvgChad.defaultProps = {
    className: undefined,
    style: undefined,
};

export default SvgChad;