react-feather
Version:
React component for Feather icons
67 lines (62 loc) • 1.38 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const FilePlus = 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}
>
<path
d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<polyline
points="14 2 14 8 20 8"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="12"
y1="18"
x2="12"
y2="12"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="9"
y1="15"
x2="15"
y2="15"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
FilePlus.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
FilePlus.defaultProps = {
color: 'currentColor',
size: '24',
};
export default FilePlus;