UNPKG

react-feather

Version:
36 lines (31 loc) 730 B
import React from 'react'; import PropTypes from 'prop-types'; const Power = 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="M18.36 6.64a9 9 0 1 1-12.73 0" /> <line x1="12" y1="2" x2="12" y2="12" /> </svg> ); }; Power.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Power.defaultProps = { color: 'currentColor', size: '24', }; export default Power;