@pinuts/bsr-uikit-relaunch
Version:
BSR UI-KIT Relaunch
46 lines (42 loc) • 1.3 kB
JSX
import React from 'react';
import PropTypes from 'prop-types';
import Icon40PropValues from '../_defaultIconPropValues.ts';
const Close = (props) => {
const {
width = Icon40PropValues.width,
height = Icon40PropValues.height,
stroke = Icon40PropValues.stroke,
fill = Icon40PropValues.fill,
...restProps
} = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width={width}
height={height}
{...restProps}
fill="none"
>
<path
fill={fill}
stroke={stroke}
strokeWidth={0.4}
d="M5.5 19.375a.874.874 0 0 1-.62-1.49l13-13a.875.875 0 0 1 1.235 0c.34.34.34.895 0 1.235l-13 13a.87.87 0 0 1-.62.255z"
/>
<path
fill={fill}
stroke={stroke}
strokeWidth={0.4}
d="M18.5 19.375a.87.87 0 0 1-.62-.255l-13-13a.875.875 0 0 1 0-1.235.875.875 0 0 1 1.235 0l13 13a.874.874 0 0 1-.62 1.49z"
/>
</svg>
);
};
Close.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
fill: PropTypes.string,
stroke: PropTypes.string,
};
export default Close;