nexxtway/react-rainbow

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

Summary

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

function SvgBelgium({ className, style }) {
    return (
        <svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
            <g fillRule="nonzero" fill="none">
                <path
                    d="M21.565.995A15.966 15.966 0 0016 0c-1.957 0-3.832.352-5.565.995L9.043 16l1.392 15.005c1.733.643 3.608.995 5.565.995 1.957 0 3.832-.352 5.565-.995L22.956 16 21.566.995z"
                    fill="#FFDA44"
                />
                <path
                    d="M32 16C32 9.12 27.658 3.256 21.565.995v30.01C27.658 28.745 32 22.88 32 16z"
                    fill="#D80027"
                />
                <path
                    d="M0 16c0 6.88 4.342 12.744 10.435 15.005V.995C4.342 3.255 0 9.121 0 16z"
                    fill="#000"
                />
            </g>
        </svg>
    );
}
SvgBelgium.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
};

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

export default SvgBelgium;