UNPKG

react-feather

Version:
35 lines (30 loc) 700 B
import React from 'react'; import PropTypes from 'prop-types'; const Cloud = 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 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z" /> </svg> ); }; Cloud.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Cloud.defaultProps = { color: 'currentColor', size: '24', }; export default Cloud;