mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
38 lines
1015 B
JavaScript
38 lines
1015 B
JavaScript
import React, { forwardRef } from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const Aperture = 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}
|
|
>
|
|
<circle cx="12" cy="12" r="10" />
|
|
<line x1="14.31" y1="8" x2="20.05" y2="17.94" />
|
|
<line x1="9.69" y1="8" x2="21.17" y2="8" />
|
|
<line x1="7.38" y1="12" x2="13.12" y2="2.06" />
|
|
<line x1="9.69" y1="16" x2="3.95" y2="6.06" />
|
|
<line x1="14.31" y1="16" x2="2.83" y2="16" />
|
|
<line x1="16.62" y1="12" x2="10.88" y2="21.94" />
|
|
</svg>
|
|
);
|
|
});
|
|
|
|
Aperture.propTypes = {
|
|
color: PropTypes.string,
|
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
};
|
|
|
|
Aperture.displayName = 'Aperture';
|
|
|
|
export default Aperture;
|