UNPKG

react-feather

Version:
67 lines (62 loc) 1.49 kB
import React from 'react'; import PropTypes from 'prop-types'; const Package = props => { const { color, size, ...otherProps } = props; return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" {...otherProps} > <path d="M12.89 1.45l8 4A2 2 0 0 1 22 7.24v9.53a2 2 0 0 1-1.11 1.79l-8 4a2 2 0 0 1-1.79 0l-8-4a2 2 0 0 1-1.1-1.8V7.24a2 2 0 0 1 1.11-1.79l8-4a2 2 0 0 1 1.78 0z" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <polyline points="2.32 6.16 12 11 21.68 6.16" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <line x1="12" y1="22.76" x2="12" y2="11" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <line x1="7" y1="3.5" x2="17" y2="8.5" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; Package.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Package.defaultProps = { color: 'currentColor', size: '24', }; export default Package;