nexxtway/react-rainbow

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

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import PropTypes from 'prop-types';

function SvgNiger({ className, style }) {
    return (
        <svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
            <g fillRule="nonzero" fill="none">
                <path
                    d="M1.588 9.043A15.936 15.936 0 000 16c0 2.493.57 4.853 1.588 6.956L16 24.348l14.412-1.392A15.936 15.936 0 0032 16c0-2.493-.57-4.853-1.588-6.957L16 7.654 1.588 9.042z"
                    fill="#F0F0F0"
                />
                <path
                    d="M1.588 22.956C4.176 28.308 9.657 32 16 32s11.824-3.692 14.412-9.044H1.588z"
                    fill="#6DA544"
                />
                <g transform="translate(1.563)" fill="#FF9811">
                    <path d="M.026 9.043h28.823C26.261 3.692 20.781 0 14.437 0 8.095 0 2.614 3.692.027 9.043z" />
                    <circle cx={14.438} cy={16} r={5.565} />
                </g>
            </g>
        </svg>
    );
}
SvgNiger.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
};

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

export default SvgNiger;