UNPKG

react-feather

Version:
61 lines (56 loc) 1.28 kB
import React from 'react'; import PropTypes from 'prop-types'; const Repeat = 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} > <polyline points="17 1 21 5 17 9" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <path d="M3 11V9a4 4 0 0 1 4-4h14" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <polyline points="7 23 3 19 7 15" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <path d="M21 13v2a4 4 0 0 1-4 4H3" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; Repeat.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Repeat.defaultProps = { color: 'currentColor', size: '24', }; export default Repeat;