UNPKG

react-feather

Version:
45 lines (40 loc) 920 B
import React from 'react'; import PropTypes from 'prop-types'; const RotateCw = 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="23 4 23 10 17 10" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; RotateCw.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; RotateCw.defaultProps = { color: 'currentColor', size: '24', }; export default RotateCw;