go-ethereum/src/components/UI/svgs/MinusIcon.tsx
Corwin Smith 7dc3059036
[UI/UX bug] - Footer buttons are only partially clickable and [Perf] - Optimise SVGs (#143)
* Make whole footer button area clickable

* optimize svgs
2022-12-12 14:21:22 -03:00

16 lines
460 B
TypeScript

import { IconProps } from '@chakra-ui/react';
import { createIcon } from '@chakra-ui/icons';
const [w, h] = [24, 24];
const Icon = createIcon({
displayName: 'MinusIcon',
viewBox: `0 0 ${w} ${h}`,
path: (
<svg width={w} height={h} fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 11h20v2H2z" fill="currentColor"/></svg>
)
});
export const MinusIcon: React.FC<IconProps> = props => (
<Icon h={h} w={w} color='primary' {...props} />
);