nexxtway/react-rainbow

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

Summary

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

function SvgSenegal({ className, style }) {
    return (
        <svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
            <g fillRule="nonzero" fill="none">
                <path
                    d="M22.956 1.588A15.937 15.937 0 0016 0c-2.493 0-4.853.57-6.957 1.588L7.654 16l1.39 14.412A15.937 15.937 0 0016 32c2.493 0 4.853-.57 6.956-1.588L24.348 16 22.956 1.588z"
                    fill="#FFDA44"
                />
                <g fill="#496E2D">
                    <path d="M16 10.435l1.381 4.251h4.47l-3.616 2.628 1.381 4.251L16 18.938l-3.617 2.627 1.382-4.251-3.617-2.628h4.47zM9.043 1.588C3.692 4.176 0 9.657 0 16s3.692 11.824 9.043 14.412V1.588z" />
                </g>
                <path
                    d="M22.956 1.588v28.824C28.308 27.824 32 22.343 32 16S28.308 4.176 22.956 1.588z"
                    fill="#D80027"
                />
            </g>
        </svg>
    );
}
SvgSenegal.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
};

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

export default SvgSenegal;