mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-14 13:58:21 +00:00
38 lines
1.0 KiB
JavaScript
38 lines
1.0 KiB
JavaScript
import React, { forwardRef } from "react";
|
|
import PropTypes from "prop-types";
|
|
|
|
const UploadCloud = forwardRef(
|
|
({ color = "currentColor", size = 24, width = 2, ...rest }, ref) => {
|
|
return (
|
|
<svg
|
|
ref={ref}
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={size}
|
|
height={size}
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
stroke={color}
|
|
strokeWidth={width}
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
{...rest}
|
|
>
|
|
<polyline points="16 16 12 12 8 16"></polyline>
|
|
<line x1="12" y1="12" x2="12" y2="21"></line>
|
|
<path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path>
|
|
<polyline points="16 16 12 12 8 16"></polyline>
|
|
</svg>
|
|
);
|
|
}
|
|
);
|
|
|
|
UploadCloud.propTypes = {
|
|
color: PropTypes.string,
|
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
};
|
|
|
|
UploadCloud.displayName = "UploadCloud";
|
|
|
|
export default UploadCloud;
|