UNPKG

react-feather

Version:
37 lines (32 loc) 830 B
import React from 'react'; import PropTypes from 'prop-types'; const RefreshCcw = 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} > <polyline points="1 4 1 10 7 10" /> <polyline points="23 20 23 14 17 14" /> <path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15" /> </svg> ); }; RefreshCcw.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; RefreshCcw.defaultProps = { color: 'currentColor', size: '24', }; export default RefreshCcw;