UNPKG

react-feather

Version:
36 lines (31 loc) 779 B
import React from 'react'; import PropTypes from 'prop-types'; const Pocket = 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} > <path d="M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z" /> <polyline points="8 10 12 14 16 10" /> </svg> ); }; Pocket.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Pocket.defaultProps = { color: 'currentColor', size: '24', }; export default Pocket;