Skip to content

Commit

Permalink
Add icons - document, pdf and upload icon (#2797)
Browse files Browse the repository at this point in the history
* add document, pdf and upload icon
  • Loading branch information
ElaLukaszewicz authored Jan 24, 2024
1 parent ec8d6c8 commit 89f31c7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/icons/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export type IconTypeType =
| 'cup'
| 'cursor_select'
| 'cyrillic'
| 'document'
| 'dot'
| 'draw'
| 'drawing_mode'
Expand Down Expand Up @@ -128,6 +129,7 @@ export type IconTypeType =
| 'padlock_open'
| 'padlock'
| 'pause'
| 'pdf'
| 'pencil'
| 'pi'
| 'play'
Expand Down Expand Up @@ -181,6 +183,7 @@ export type IconTypeType =
| 'twitter'
| 'underlined'
| 'unseen'
| 'upload'
| 'user_block'
| 'verified'
| 'view_checked'
Expand Down Expand Up @@ -272,6 +275,7 @@ export const TYPE = {
CUP: 'cup',
CURSOR_SELECT: 'cursor_select',
CYRILLIC: 'cyrillic',
DOCUMENT: 'document',
DOT: 'dot',
DRAW: 'draw',
DRAWING_MODE: 'drawing_mode',
Expand Down Expand Up @@ -336,6 +340,7 @@ export const TYPE = {
PADLOCK_OPEN: 'padlock_open',
PADLOCK: 'padlock',
PAUSE: 'pause',
PDF: 'pdf',
PENCIL: 'pencil',
PI: 'pi',
PLAY: 'play',
Expand Down Expand Up @@ -389,6 +394,7 @@ export const TYPE = {
TWITTER: 'twitter',
UNDERLINED: 'underlined',
UNSEEN: 'unseen',
UPLOAD: 'upload',
USER_BLOCK: 'user_block',
VERIFIED: 'verified',
VIEW_CHECKED: 'view_checked',
Expand Down
3 changes: 3 additions & 0 deletions src/components/icons/get-icon-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const iconMap = {
'counter',
'credit_card',
'cursor_select',
'document',
'dot',
'envelope',
'exclamation_mark',
Expand Down Expand Up @@ -148,6 +149,7 @@ const iconMap = {
'mic_muted',
'numbered_list',
'pause',
'pdf',
'pencil',
'pi',
'play',
Expand All @@ -166,6 +168,7 @@ const iconMap = {
'trash',
'triangle',
'underlined',
'upload',
],
Navigation: [
'add_more',
Expand Down
3 changes: 3 additions & 0 deletions src/images/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.
3 changes: 3 additions & 0 deletions src/images/icons/pdf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/images/icons/upload.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 89f31c7

Please sign in to comment.