nexxtway/react-rainbow

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

Summary

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

function SvgHongKongSarChina({ className, style }) {
    return (
        <svg width={32} height={32} viewBox="0 0 32 32" className={className} style={style}>
            <g fillRule="nonzero" fill="none">
                <path
                    d="M.484 12.195C2.595 3.643 11.244-1.572 19.796.548c8.553 2.112 13.768 10.76 11.648 19.313-2.12 8.552-10.76 13.767-19.313 11.647C3.579 29.388-1.636 20.748.484 12.195"
                    fill="#EF3827"
                />
                <path
                    d="M12.107 14.001c-.218-1.846-1.959-2.861-3.474-2.458-1.379.37-1.919-.67-2.112-2.016-1.741 2.733-.395 5.877.951 7.053 2.458 2.16 6.545 2 8.673-.483-2.063 1.152-3.869-.653-4.038-2.096m4.755-2.402c1.685-.79 2.088-2.765 1.226-4.07-.79-1.193.024-2.032 1.241-2.644-3.144-.782-5.699 1.49-6.392 3.143-1.265 3.015.185 6.852 3.216 8.069-1.749-1.588-.596-3.877.71-4.498m5.988-1.032c-3.256-.274-6.456 2.273-6.698 5.538.984-2.16 3.515-1.765 4.506-.701 1.273 1.362 3.272 1.136 4.248-.09.895-1.12 1.942-.604 2.894.372-.218-3.233-3.168-4.966-4.95-5.119m-4.642 9.608c-.903 1.629-.081 3.466 1.386 4.022 1.338.508 1.169 1.66.532 2.862 3.007-1.201 3.756-4.538 3.353-6.287-.741-3.184-4.151-5.45-7.327-4.675 2.354.282 2.757 2.805 2.056 4.078m-5.304-.87c-1.822-.363-3.321.983-3.402 2.555-.072 1.427-1.225 1.62-2.563 1.386 2.064 2.5 5.473 2.185 7.005 1.266 2.813-1.677 3.917-5.618 2.2-8.407.468 2.321-1.814 3.482-3.24 3.2"
                    fill="#FFF"
                />
                <path
                    d="M9.382 14.138l.29-.637-.604.347-.516-.468.145.685-.604.347.693.073.137.685.29-.637.693.073-.524-.468zm3.434 7.456l-.604.347-.516-.468.145.685-.605.347.693.072.146.685.282-.644.693.08-.516-.467.282-.637zm8.665-.508l-.604.355-.524-.468.145.685-.605.347.693.073.145.677.283-.637.693.072-.516-.467.29-.637zm1.886-7.77l.282-.637-.596.347-.524-.46.145.677-.604.355.7.073.146.677.282-.637.693.072-.524-.467zm-4.256-.274l-.62.242c-1.693.781-2.048 1.773-2.314 2.53l-.032-.032-.12.121c-.646-.491-1.46-1.056-1.694-2.918l-.04-.644c0-.815.202-1.451.395-1.887.194-.435.395-.66.395-.66l-.008-.113-.105.008c-.008.008-.822.967-.822 2.643l.04.67c.234 1.886 1.097 2.522 1.733 3.006l-.088.089.072.072c-.669.452-1.467 1.024-3.28.653l-.621-.161a4.635 4.635 0 01-1.668-.975c-.347-.323-.5-.58-.5-.58l-.105-.025-.024.105c.008.008.66 1.088 2.249 1.62l.644.17c1.887.386 2.757-.25 3.418-.694l.137.137.008-.008c.218.766.492 1.693-.395 3.273l-.346.54a4.685 4.685 0 01-1.435 1.29c-.42.233-.71.298-.71.298l-.056.088.089.057c.008 0 1.233-.29 2.233-1.645l.362-.556c.943-1.668.613-2.692.387-3.466l.105-.105c.806.025 1.79.017 3.055 1.379l.411.5a4.61 4.61 0 01.782 1.765c.097.46.072.765.072.765l.065.081.08-.072c0-.009.105-1.266-.878-2.628l-.42-.516c-1.28-1.386-2.345-1.403-3.143-1.427l-.113-.113c.274-.765.556-1.708 2.265-2.506l.605-.234a4.687 4.687 0 011.918-.21c.476.057.75.17.75.17l.097-.04-.04-.097c-.025.008-1.186-.476-2.79.04zM15.436 9.02l.145.677.282-.637.693.072-.524-.467.282-.637-.604.355-.524-.46.145.678-.605.354.71.065z"
                    fill="#EF3827"
                />
            </g>
        </svg>
    );
}
SvgHongKongSarChina.propTypes = {
    className: PropTypes.string,
    style: PropTypes.object,
};

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

export default SvgHongKongSarChina;