mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
34 lines
810 B
JavaScript
34 lines
810 B
JavaScript
import React, { forwardRef } from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const Database = forwardRef(({ color = 'currentColor', size = "1em", ...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="2"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
{...rest}
|
|
>
|
|
<ellipse cx="12" cy="5" rx="9" ry="3" />
|
|
<path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3" />
|
|
<path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5" />
|
|
</svg>
|
|
);
|
|
});
|
|
|
|
Database.propTypes = {
|
|
color: PropTypes.string,
|
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
};
|
|
|
|
Database.displayName = 'Database';
|
|
|
|
export default Database;
|