Skip to content

Commit

Permalink
feat(icons): add invalid icon
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Aug 5, 2024
1 parent a8e68fb commit a72a198
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/assets/icons/Invalid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions src/icons/Invalid.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { IconBox } from '../elements/IconBox'

import type { IconProps } from '../types/definitions'

export function Invalid({ color, size, title, ...nativeProps }: IconProps) {
return (
<IconBox $color={color} $size={size} title={title}>
<svg height="26" viewBox="0 0 26 26" width="26" {...nativeProps}>
<g transform="translate(-1514 -535)">
<g transform="translate(18 112)">
<g>
<circle cx="13" cy="13" fill="currentColor" r="13" transform="translate(1496 423)" />
</g>
</g>
<g transform="translate(1517 538)">
<path
d="M100,8.546,97.454,6,93,10.454,88.546,6,86,8.546,90.454,13,86,17.454,88.546,20,93,15.546,97.454,20,100,17.454,95.546,13Z"
fill="#f7f7fa"
transform="translate(-83 -3)"
/>
<rect fill="none" height="20" width="20" />
</g>
</g>
</svg>
</IconBox>
)
}
2 changes: 2 additions & 0 deletions src/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { FocusZones } from './FocusZones'
import { Hide } from './Hide'
import { Info } from './Info'
import { Infringement } from './Infringement'
import { Invalid } from './Invalid'
import { Landmark } from './Landmark'
import { Link } from './Link'
import { List } from './List'
Expand Down Expand Up @@ -133,6 +134,7 @@ export {
Hide,
Info,
Infringement,
Invalid,
Landmark,
Link,
List,
Expand Down

0 comments on commit a72a198

Please sign in to comment.