35 lines
884 B
JavaScript
35 lines
884 B
JavaScript
import React, { forwardRef } from "react";
|
|
import PropTypes from "prop-types";
|
|
|
|
const Columns = 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}
|
|
>
|
|
<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>
|
|
</svg>
|
|
);
|
|
}
|
|
);
|
|
|
|
Columns.propTypes = {
|
|
color: PropTypes.string,
|
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
};
|
|
|
|
Columns.displayName = "Columns";
|
|
|
|
export default Columns;
|