Files
lucide/packages/react/src/icons/align-center.js
2020-06-28 15:27:24 +01:00

38 lines
998 B
JavaScript

import React, { forwardRef } from "react";
import PropTypes from "prop-types";
const AlignCenter = 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}
>
<line x1="18" y1="10" x2="6" y2="10"></line>
<line x1="21" y1="6" x2="3" y2="6"></line>
<line x1="21" y1="14" x2="3" y2="14"></line>
<line x1="18" y1="18" x2="6" y2="18"></line>
</svg>
);
}
);
AlignCenter.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
AlignCenter.displayName = "AlignCenter";
export default AlignCenter;