react-feather
Version:
React component for Feather icons
37 lines (32 loc) • 830 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const DownloadCloud = 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="8 17 12 21 16 17" />
<line x1="12" y1="12" x2="12" y2="21" />
<path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29" />
</svg>
);
};
DownloadCloud.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
DownloadCloud.defaultProps = {
color: 'currentColor',
size: '24',
};
export default DownloadCloud;