nexxtway/react-rainbow

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

Summary

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

function SvgBenin({ className, style }) {
    return (
        <svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
            <g fillRule="nonzero" fill="none">
                <path
                    d="M10.435 14.609l1.391 16.84c1.33.358 2.73.551 4.174.551 8.837 0 16-7.163 16-16l-21.565-1.391z"
                    fill="#D80027"
                />
                <path
                    d="M10.435 16L11.826.551C13.156.192 14.556 0 16 0c8.837 0 16 7.163 16 16H10.435z"
                    fill="#FFDA44"
                />
                <path
                    d="M0 16c0 7.392 5.014 13.613 11.826 15.449V.55C5.014 2.387 0 8.608 0 16z"
                    fill="#6DA544"
                />
            </g>
        </svg>
    );
}
SvgBenin.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
};

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

export default SvgBenin;