@pinuts/bsr-uikit-relaunch
Version:
BSR UI-KIT Relaunch
36 lines (32 loc) • 970 B
JSX
import * as React from 'react';
import PropTypes from 'prop-types';
import Icon40PropValues from '../_defaultIconPropValues.ts';
const ResizeIcon = (props) => {
const {
width = Icon40PropValues.width,
height = Icon40PropValues.height,
stroke = Icon40PropValues.stroke,
...restProps
} = props;
delete restProps.fill;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 18 18"
width={width}
height={height}
{...restProps}
fill="none"
>
<path d="M4 12L12 4" stroke={stroke} strokeWidth="1.4" strokeLinecap="round" />
<path d="M10 12.5L12.5 10" stroke={stroke} strokeWidth="1.4" strokeLinecap="round" />
</svg>
);
};
ResizeIcon.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
fill: PropTypes.string,
stroke: PropTypes.string,
};
export default ResizeIcon;