1234567891011121314151617181920212223242526272829 |
- import * as React from 'react';
- import SvgIcon from './svgIcon';
- type Props = React.ComponentProps<typeof SvgIcon> & {
- isCircled?: boolean;
- };
- const IconSubtract = React.forwardRef(function IconSubtract(
- {isCircled = false, ...props}: Props,
- ref: React.Ref<SVGSVGElement>
- ) {
- return (
- <SvgIcon {...props} data-test-id="icon-subtract" ref={ref}>
- {isCircled ? (
- <React.Fragment>
- <path d="M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z" />
- <path d="M11.28,8.75H4.72a.75.75,0,1,1,0-1.5h6.56a.75.75,0,1,1,0,1.5Z" />
- </React.Fragment>
- ) : (
- <path d="M14,8.75H2a.75.75,0,0,1,0-1.5H14a.75.75,0,0,1,0,1.5Z" />
- )}
- </SvgIcon>
- );
- });
- IconSubtract.displayName = 'IconSubtract';
- export {IconSubtract};
|