Skip to content

Commit

Permalink
feat(icons): add icons for document
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeperrault authored and maximeperraultdev committed Nov 14, 2024
1 parent bfa89fc commit 0a3105b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/assets/icons/Document.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 src/icons/Document.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { IconBox } from '../elements/IconBox'

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

export function Document({ color, size, title, ...nativeProps }: IconProps) {
return (
<IconBox $color={color} $size={size} title={title}>
<svg height="20" viewBox="0 0 20 20" width="20" {...nativeProps}>
<rect fill="none" height="20" width="20" />
<rect fill="none" height="20" width="20" />
<path d="M0,0H20V20H0Z" fill="none" />
<path d="M3,18H17V8L11,2H3Zm12-2H5V4H9v6h6Zm-.828-8H11V4.828Z" fill="currentColor" />
</svg>
</IconBox>
)
}
2 changes: 2 additions & 0 deletions src/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { ControlUnit } from './ControlUnit'
import { ControlUnitFilled } from './ControlUnitFilled'
import { Delete } from './Delete'
import { Display } from './Display'
import { Document } from './Document'
import { DoubleChevron } from './DoubleChevron'
import { Download } from './Download'
import { Drapeau } from './Drapeau'
Expand Down Expand Up @@ -119,6 +120,7 @@ export {
ControlUnitFilled,
Delete,
Display,
Document,
DoubleChevron,
Download,
Drapeau,
Expand Down

0 comments on commit 0a3105b

Please sign in to comment.