UNPKG

react-feather

Version:
37 lines (32 loc) 788 B
import React from 'react'; import PropTypes from 'prop-types'; const Map = props => { const { color, size, ...otherProps } = props; return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...otherProps} > <polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6" /> <line x1="8" y1="2" x2="8" y2="18" /> <line x1="16" y1="6" x2="16" y2="22" /> </svg> ); }; Map.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Map.defaultProps = { color: 'currentColor', size: '24', }; export default Map;