@pinuts/bsr-uikit-relaunch
Version:
BSR UI-KIT Relaunch
46 lines (42 loc) • 1.27 kB
JSX
import * as React from 'react';
import PropTypes from 'prop-types';
import Icon40PropValues from '../_defaultIconPropValues.ts';
const PlusFill = (props) => {
const {
width = Icon40PropValues.width,
height = Icon40PropValues.height,
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"
>
<defs>
<mask id="plus">
<circle id="donut" r="12" cx="12" cy="12" fill="white" />
<path
stroke="black"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.8}
d="M12 8v8M8 12h8"
/>
</mask>
</defs>
<circle id="donut" r="12" cx="12" cy="12" mask="url(#plus)" fill={fill} />
</svg>
);
};
PlusFill.propTypes = {
width: PropTypes.string,
height: PropTypes.string,
fill: PropTypes.string,
stroke: PropTypes.string,
};
export default PlusFill;