Skip to content

Commit

Permalink
feat(icons): add minus icon
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 committed Apr 18, 2023
1 parent e441675 commit bb63f48
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/icons/assets/arrows/minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/components/icons/src/icons/Minus.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { IconProps } from '../Types'

export const Minus = ({ title, fill = 'currentColor', stroke = 'none', ...props }: IconProps) => (
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
{...{ ...(title && { 'data-title': title }), fill, stroke, ...props }}
dangerouslySetInnerHTML={{
__html:
(title === undefined ? '' : `<title>${title}</title>`) +
'<path fill-rule="evenodd" clip-rule="evenodd" d="M2 11.9999C2 11.379 2.44772 10.8756 3 10.8756H21C21.5523 10.8756 22 11.379 22 11.9999C22 12.6208 21.5523 13.1242 21 13.1242H3C2.44772 13.1242 2 12.6208 2 11.9999Z"/>',
}}
/>
)

export const tags = ['minus', 'arrows']

0 comments on commit bb63f48

Please sign in to comment.