box-ui-elements 15.0.0-beta.48 → 15.0.0-beta.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,8 @@ var itemIconTable = {
38
38
  code: IconFileCode,
39
39
  default: IconFileDefault,
40
40
  document: IconFileText,
41
+ 'docuworks-binder': IconFileXbd,
42
+ 'docuworks-file': IconFileXdw,
41
43
  dwg: IconFileDwg,
42
44
  'excel-spreadsheet': IconFileExcelSpreadsheet,
43
45
  'folder-collab': IconFolderCollab,
@@ -62,8 +64,6 @@ var itemIconTable = {
62
64
  vector: IconFileVector,
63
65
  video: IconFileVideo,
64
66
  'word-document': IconFileWordDocument,
65
- xbd: IconFileXbd,
66
- xdw: IconFileXdw,
67
67
  zip: IconFileZip
68
68
  };
69
69
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/icons/item-icon/ItemIcon.tsx"],"names":["React","IconFileAudio","IconFileBoxNote","IconFileCode","IconFileDefault","IconFileDwg","IconFileExcelSpreadsheet","IconFileGoogleDocs","IconFileGoogleSheets","IconFileGoogleSlides","IconFileIllustrator","IconFileImage","IconFileIndesign","IconFileKeynote","IconFileNumbers","IconFilePages","IconFilePDF","IconFilePhotoshop","IconFilePowerpointPresentation","IconFilePresentation","IconFileSpreadsheet","IconFileText","IconFileThreeD","IconFileVector","IconFileVideo","IconFileWordDocument","IconFileXbd","IconFileXdw","IconFileZip","BookmarkIcon","IconFolderCollab","IconFolderExternal","IconFolderPersonal","itemIconTable","audio","bookmark","boxnote","code","default","document","dwg","illustrator","image","indesign","keynote","numbers","pages","pdf","photoshop","presentation","spreadsheet","text","threed","vector","video","xbd","xdw","zip","ItemIcon","className","dimension","iconType","title","IconComponent"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAGA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,YAAP,MAAyB,+BAAz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AAO,oBAAC,aAAD;AAAe,IAAA,SAAS,EAAEuD,SAA1B;AAAqC,IAAA,MAAM,EAAEC,SAA7C;AAAwD,IAAA,KAAK,EAAEE,KAA/D;AAAsE,IAAA,KAAK,EAAEF;AAA7E,IAAP;AACH,CAHD;;AAKA,eAAeF,QAAf","sourcesContent":["import * as React from 'react';\nimport { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\nimport IconFileAudio from '../../icon/content/FileAudio32';\nimport IconFileBoxNote from '../../icon/content/FileBoxNote32';\nimport IconFileCode from '../../icon/content/FileCode32';\nimport IconFileDefault from '../../icon/content/FileDefault32';\nimport IconFileDwg from '../../icon/content/FileDwg32';\nimport IconFileExcelSpreadsheet from '../../icon/content/FileExcel32';\nimport IconFileGoogleDocs from '../../icon/content/FileDocs32';\nimport IconFileGoogleSheets from '../../icon/content/FileSheets32';\nimport IconFileGoogleSlides from '../../icon/content/FileSlides32';\nimport IconFileIllustrator from '../../icon/content/FileIllustrator32';\nimport IconFileImage from '../../icon/content/FileImage32';\nimport IconFileIndesign from '../../icon/content/FileIndesign32';\nimport IconFileKeynote from '../../icon/content/FileKeynote32';\nimport IconFileNumbers from '../../icon/content/FileNumbers32';\nimport IconFilePages from '../../icon/content/FilePages32';\nimport IconFilePDF from '../../icon/content/FilePdf32';\nimport IconFilePhotoshop from '../../icon/content/FilePhotoshop32';\nimport IconFilePowerpointPresentation from '../../icon/content/FilePowerpoint32';\nimport IconFilePresentation from '../../icon/content/FilePresentation32';\nimport IconFileSpreadsheet from '../../icon/content/FileSpreadsheet32';\nimport IconFileText from '../../icon/content/FileText32';\nimport IconFileThreeD from '../../icon/content/FileThreeD32';\nimport IconFileVector from '../../icon/content/FileVector32';\nimport IconFileVideo from '../../icon/content/FileVideo32';\nimport IconFileWordDocument from '../../icon/content/FileWord32';\nimport IconFileXbd from '../../icon/content/FileXbd32';\nimport IconFileXdw from '../../icon/content/FileXdw32';\nimport IconFileZip from '../../icon/content/FileZip32';\n\nimport BookmarkIcon from '../../icon/content/FileBookmark32';\n\nimport IconFolderCollab from '../../icon/content/FolderShared32';\nimport IconFolderExternal from '../../icon/content/FolderExternal32';\nimport IconFolderPersonal from '../../icon/content/FolderPersonal32';\n\nconst itemIconTable = {\n audio: IconFileAudio,\n bookmark: BookmarkIcon,\n boxnote: IconFileBoxNote,\n code: IconFileCode,\n default: IconFileDefault,\n document: IconFileText,\n dwg: IconFileDwg,\n 'excel-spreadsheet': IconFileExcelSpreadsheet,\n 'folder-collab': IconFolderCollab,\n 'folder-external': IconFolderExternal,\n 'folder-plain': IconFolderPersonal,\n 'google-docs': IconFileGoogleDocs,\n 'google-sheets': IconFileGoogleSheets,\n 'google-slides': IconFileGoogleSlides,\n illustrator: IconFileIllustrator,\n image: IconFileImage,\n indesign: IconFileIndesign,\n keynote: IconFileKeynote,\n numbers: IconFileNumbers,\n pages: IconFilePages,\n pdf: IconFilePDF,\n photoshop: IconFilePhotoshop,\n 'powerpoint-presentation': IconFilePowerpointPresentation,\n presentation: IconFilePresentation,\n spreadsheet: IconFileSpreadsheet,\n text: IconFileText,\n threed: IconFileThreeD,\n vector: IconFileVector,\n video: IconFileVideo,\n 'word-document': IconFileWordDocument,\n xbd: IconFileXbd,\n xdw: IconFileXdw,\n zip: IconFileZip,\n};\n\nexport interface ItemIconProps {\n /** Additional class name */\n className?: string;\n /** Dimension of the icon. Defaults to 32x32 */\n dimension?: number;\n /** Type of item icon, defaults to the default icon if icon type is not recognized */\n iconType: keyof typeof itemIconTable | string;\n /** A text-only string describing the icon if it's not purely decorative for accessibility */\n title?: string | React.ReactNode;\n}\n\nconst ItemIcon = ({ className, dimension = 32, iconType, title }: ItemIconProps) => {\n const IconComponent = (itemIconTable as { [key: string]: React.FC<SVGProps> })[iconType] || IconFileDefault;\n return <IconComponent className={className} height={dimension} title={title} width={dimension} />;\n};\n\nexport default ItemIcon;\n"],"file":"ItemIcon.js"}
1
+ {"version":3,"sources":["../../../src/icons/item-icon/ItemIcon.tsx"],"names":["React","IconFileAudio","IconFileBoxNote","IconFileCode","IconFileDefault","IconFileDwg","IconFileExcelSpreadsheet","IconFileGoogleDocs","IconFileGoogleSheets","IconFileGoogleSlides","IconFileIllustrator","IconFileImage","IconFileIndesign","IconFileKeynote","IconFileNumbers","IconFilePages","IconFilePDF","IconFilePhotoshop","IconFilePowerpointPresentation","IconFilePresentation","IconFileSpreadsheet","IconFileText","IconFileThreeD","IconFileVector","IconFileVideo","IconFileWordDocument","IconFileXbd","IconFileXdw","IconFileZip","BookmarkIcon","IconFolderCollab","IconFolderExternal","IconFolderPersonal","itemIconTable","audio","bookmark","boxnote","code","default","document","dwg","illustrator","image","indesign","keynote","numbers","pages","pdf","photoshop","presentation","spreadsheet","text","threed","vector","video","zip","ItemIcon","className","dimension","iconType","title","IconComponent"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAGA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,YAAP,MAAyB,+BAAzB;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,WAAP,MAAwB,8BAAxB;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AACA,OAAOC,kBAAP,MAA+B,+BAA/B;AACA,OAAOC,oBAAP,MAAiC,iCAAjC;AACA,OAAOC,oBAAP,MAAiC,iCAAjC;AACA,OAAOC,mBAAP,MAAgC,sCAAhC;AACA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,gBAAP,MAA6B,mCAA7B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,eAAP,MAA4B,kCAA5B;AACA,OAAOC,aAAP,MAA0B,gCAA1B;AACA,OAAOC,WAAP,MAAwB,8BAAxB;AACA,OAAOC,iBAAP,MAA8B,oCAA9B;AACA,OAAOC,8BAAP,MAA2C,qCAA3C;AACA,OAAOC,oBAAP,MAAiC,uCAAjC;AACA,OAAOC,mBAAP,MAAgC,sCAAhC;AACA,O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AzBT;AA0BlB+B,EAAAA,YAAY,EAAE9B,oBA1BI;AA2BlB+B,EAAAA,WAAW,EAAE9B,mBA3BK;AA4BlB+B,EAAAA,IAAI,EAAE9B,YA5BY;AA6BlB+B,EAAAA,MAAM,EAAE9B,cA7BU;AA8BlB+B,EAAAA,MAAM,EAAE9B,cA9BU;AA+BlB+B,EAAAA,KAAK,EAAE9B,aA/BW;AAgClB,mBAAiBC,oBAhCC;AAiClB8B,EAAAA,GAAG,EAAE3B;AAjCa,CAAtB;;AA+CA,IAAM4B,QAAQ,GAAG,SAAXA,QAAW,OAAmE;AAAA,MAAhEC,SAAgE,QAAhEA,SAAgE;AAAA,4BAArDC,SAAqD;AAAA,MAArDA,SAAqD,+BAAzC,EAAyC;AAAA,MAArCC,QAAqC,QAArCA,QAAqC;AAAA,MAA3BC,KAA2B,QAA3BA,KAA2B;AAChF,MAAMC,aAAa,GAAI5B,aAAD,CAAyD0B,QAAzD,KAAsEvD,eAA5F;AACA,SAAO,oBAAC,aAAD;AAAe,IAAA,SAAS,EAAEqD,SAA1B;AAAqC,IAAA,MAAM,EAAEC,SAA7C;AAAwD,IAAA,KAAK,EAAEE,KAA/D;AAAsE,IAAA,KAAK,EAAEF;AAA7E,IAAP;AACH,CAHD;;AAKA,eAAeF,QAAf","sourcesContent":["import * as React from 'react';\nimport { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\nimport IconFileAudio from '../../icon/content/FileAudio32';\nimport IconFileBoxNote from '../../icon/content/FileBoxNote32';\nimport IconFileCode from '../../icon/content/FileCode32';\nimport IconFileDefault from '../../icon/content/FileDefault32';\nimport IconFileDwg from '../../icon/content/FileDwg32';\nimport IconFileExcelSpreadsheet from '../../icon/content/FileExcel32';\nimport IconFileGoogleDocs from '../../icon/content/FileDocs32';\nimport IconFileGoogleSheets from '../../icon/content/FileSheets32';\nimport IconFileGoogleSlides from '../../icon/content/FileSlides32';\nimport IconFileIllustrator from '../../icon/content/FileIllustrator32';\nimport IconFileImage from '../../icon/content/FileImage32';\nimport IconFileIndesign from '../../icon/content/FileIndesign32';\nimport IconFileKeynote from '../../icon/content/FileKeynote32';\nimport IconFileNumbers from '../../icon/content/FileNumbers32';\nimport IconFilePages from '../../icon/content/FilePages32';\nimport IconFilePDF from '../../icon/content/FilePdf32';\nimport IconFilePhotoshop from '../../icon/content/FilePhotoshop32';\nimport IconFilePowerpointPresentation from '../../icon/content/FilePowerpoint32';\nimport IconFilePresentation from '../../icon/content/FilePresentation32';\nimport IconFileSpreadsheet from '../../icon/content/FileSpreadsheet32';\nimport IconFileText from '../../icon/content/FileText32';\nimport IconFileThreeD from '../../icon/content/FileThreeD32';\nimport IconFileVector from '../../icon/content/FileVector32';\nimport IconFileVideo from '../../icon/content/FileVideo32';\nimport IconFileWordDocument from '../../icon/content/FileWord32';\nimport IconFileXbd from '../../icon/content/FileXbd32';\nimport IconFileXdw from '../../icon/content/FileXdw32';\nimport IconFileZip from '../../icon/content/FileZip32';\n\nimport BookmarkIcon from '../../icon/content/FileBookmark32';\n\nimport IconFolderCollab from '../../icon/content/FolderShared32';\nimport IconFolderExternal from '../../icon/content/FolderExternal32';\nimport IconFolderPersonal from '../../icon/content/FolderPersonal32';\n\nconst itemIconTable = {\n audio: IconFileAudio,\n bookmark: BookmarkIcon,\n boxnote: IconFileBoxNote,\n code: IconFileCode,\n default: IconFileDefault,\n document: IconFileText,\n 'docuworks-binder': IconFileXbd,\n 'docuworks-file': IconFileXdw,\n dwg: IconFileDwg,\n 'excel-spreadsheet': IconFileExcelSpreadsheet,\n 'folder-collab': IconFolderCollab,\n 'folder-external': IconFolderExternal,\n 'folder-plain': IconFolderPersonal,\n 'google-docs': IconFileGoogleDocs,\n 'google-sheets': IconFileGoogleSheets,\n 'google-slides': IconFileGoogleSlides,\n illustrator: IconFileIllustrator,\n image: IconFileImage,\n indesign: IconFileIndesign,\n keynote: IconFileKeynote,\n numbers: IconFileNumbers,\n pages: IconFilePages,\n pdf: IconFilePDF,\n photoshop: IconFilePhotoshop,\n 'powerpoint-presentation': IconFilePowerpointPresentation,\n presentation: IconFilePresentation,\n spreadsheet: IconFileSpreadsheet,\n text: IconFileText,\n threed: IconFileThreeD,\n vector: IconFileVector,\n video: IconFileVideo,\n 'word-document': IconFileWordDocument,\n zip: IconFileZip,\n};\n\nexport interface ItemIconProps {\n /** Additional class name */\n className?: string;\n /** Dimension of the icon. Defaults to 32x32 */\n dimension?: number;\n /** Type of item icon, defaults to the default icon if icon type is not recognized */\n iconType: keyof typeof itemIconTable | string;\n /** A text-only string describing the icon if it's not purely decorative for accessibility */\n title?: string | React.ReactNode;\n}\n\nconst ItemIcon = ({ className, dimension = 32, iconType, title }: ItemIconProps) => {\n const IconComponent = (itemIconTable as { [key: string]: React.FC<SVGProps> })[iconType] || IconFileDefault;\n return <IconComponent className={className} height={dimension} title={title} width={dimension} />;\n};\n\nexport default ItemIcon;\n"],"file":"ItemIcon.js"}
@@ -7,6 +7,8 @@ declare const itemIconTable: {
7
7
  code: (props: SVGProps) => JSX.Element;
8
8
  default: (props: SVGProps) => JSX.Element;
9
9
  document: (props: SVGProps) => JSX.Element;
10
+ 'docuworks-binder': (props: SVGProps) => JSX.Element;
11
+ 'docuworks-file': (props: SVGProps) => JSX.Element;
10
12
  dwg: (props: SVGProps) => JSX.Element;
11
13
  'excel-spreadsheet': (props: SVGProps) => JSX.Element;
12
14
  'folder-collab': (props: SVGProps) => JSX.Element;
@@ -31,8 +33,6 @@ declare const itemIconTable: {
31
33
  vector: (props: SVGProps) => JSX.Element;
32
34
  video: (props: SVGProps) => JSX.Element;
33
35
  'word-document': (props: SVGProps) => JSX.Element;
34
- xbd: (props: SVGProps) => JSX.Element;
35
- xdw: (props: SVGProps) => JSX.Element;
36
36
  zip: (props: SVGProps) => JSX.Element;
37
37
  };
38
38
  export interface ItemIconProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "box-ui-elements",
3
- "version": "15.0.0-beta.48",
3
+ "version": "15.0.0-beta.49",
4
4
  "description": "Box UI Elements",
5
5
  "author": "Box (https://www.box.com/)",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -43,6 +43,8 @@ const itemIconTable = {
43
43
  code: IconFileCode,
44
44
  default: IconFileDefault,
45
45
  document: IconFileText,
46
+ 'docuworks-binder': IconFileXbd,
47
+ 'docuworks-file': IconFileXdw,
46
48
  dwg: IconFileDwg,
47
49
  'excel-spreadsheet': IconFileExcelSpreadsheet,
48
50
  'folder-collab': IconFolderCollab,
@@ -67,8 +69,6 @@ const itemIconTable = {
67
69
  vector: IconFileVector,
68
70
  video: IconFileVideo,
69
71
  'word-document': IconFileWordDocument,
70
- xbd: IconFileXbd,
71
- xdw: IconFileXdw,
72
72
  zip: IconFileZip,
73
73
  };
74
74
 
@@ -5,130 +5,56 @@ import ItemIcon from '../ItemIcon';
5
5
  describe('icons/item-icon/ItemIcon', () => {
6
6
  const getWrapper = (props = {}) => shallow(<ItemIcon iconType="" {...props} />);
7
7
 
8
- describe('render()', () => {
9
- [
10
- {
11
- iconType: 'audio',
12
- },
13
- {
14
- iconType: 'bookmark',
15
- },
16
- {
17
- iconType: 'boxnote',
18
- },
19
- {
20
- iconType: 'code',
21
- },
22
- {
23
- iconType: 'default',
24
- },
25
- {
26
- iconType: 'document',
27
- },
28
- {
29
- iconType: 'dwg',
30
- },
31
- {
32
- iconType: 'excel-spreadsheet',
33
- },
34
- {
35
- iconType: 'folder-collab',
36
- },
37
- {
38
- iconType: 'folder-external',
39
- },
40
- {
41
- iconType: 'folder-plain',
42
- },
43
- {
44
- iconType: 'google-docs',
45
- },
46
- {
47
- iconType: 'google-sheets',
48
- },
49
- {
50
- iconType: 'google-slides',
51
- },
52
- {
53
- iconType: 'illustrator',
54
- },
55
- {
56
- iconType: 'image',
57
- },
58
- {
59
- iconType: 'indesign',
60
- },
61
- {
62
- iconType: 'keynote',
63
- },
64
- {
65
- iconType: 'numbers',
66
- },
67
- {
68
- iconType: 'pages',
69
- },
70
- {
71
- iconType: 'pdf',
72
- },
73
- {
74
- iconType: 'photoshop',
75
- },
76
- {
77
- iconType: 'powerpoint-presentation',
78
- },
79
- {
80
- iconType: 'presentation',
81
- },
82
- {
83
- iconType: 'spreadsheet',
84
- },
85
- {
86
- iconType: 'text',
87
- },
88
- {
89
- iconType: 'threed',
90
- },
91
- {
92
- iconType: 'folder-plain',
93
- },
94
- {
95
- iconType: 'vector',
96
- },
97
- {
98
- iconType: 'video',
99
- },
100
- {
101
- iconType: 'word-document',
102
- },
103
- {
104
- iconType: 'xbd',
105
- },
106
- {
107
- iconType: 'xdw',
108
- },
109
- {
110
- iconType: 'zip',
111
- },
112
- {
113
- iconType: '',
114
- },
115
- ].forEach(({ iconType }) => {
116
- test(`should render ${iconType} component`, () => {
117
- const wrapper = getWrapper({ iconType });
8
+ describe.each([
9
+ 'audio',
10
+ 'bookmark',
11
+ 'boxnote',
12
+ 'code',
13
+ 'default',
14
+ 'document',
15
+ 'docuworks-binder',
16
+ 'docuworks-file',
17
+ 'dwg',
18
+ 'excel-spreadsheet',
19
+ 'folder-collab',
20
+ 'folder-external',
21
+ 'folder-plain',
22
+ 'google-docs',
23
+ 'google-sheets',
24
+ 'google-slides',
25
+ 'illustrator',
26
+ 'image',
27
+ 'indesign',
28
+ 'keynote',
29
+ 'numbers',
30
+ 'pages',
31
+ 'pdf',
32
+ 'photoshop',
33
+ 'powerpoint-presentation',
34
+ 'presentation',
35
+ 'spreadsheet',
36
+ 'text',
37
+ 'threed',
38
+ 'vector',
39
+ 'video',
40
+ 'word-document',
41
+ 'zip',
42
+ ])('render()', iconType => {
43
+ test(`should render ${iconType} component`, () => {
44
+ const wrapper = getWrapper({ iconType });
118
45
 
119
- expect(wrapper).toMatchSnapshot();
120
- });
121
-
122
- test('should render component with additional props', () => {
123
- const wrapper = getWrapper({
124
- className: 'test',
125
- dimension: 10,
126
- iconType,
127
- title: 'title',
128
- });
46
+ expect(wrapper).toMatchSnapshot();
47
+ });
129
48
 
130
- expect(wrapper).toMatchSnapshot();
49
+ test(`should render ${iconType} component with additional props`, () => {
50
+ const wrapper = getWrapper({
51
+ className: 'test',
52
+ dimension: 10,
53
+ iconType,
54
+ title: 'title',
131
55
  });
56
+
57
+ expect(wrapper).toMatchSnapshot();
132
58
  });
133
59
  });
134
60
  });
@@ -1,16 +1,18 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`icons/item-icon/ItemIcon render() should render component 1`] = `
4
- <FileDefault32
3
+ exports[`icons/item-icon/ItemIcon render() should render audio component 1`] = `
4
+ <FileAudio32
5
5
  height={32}
6
6
  width={32}
7
7
  />
8
8
  `;
9
9
 
10
- exports[`icons/item-icon/ItemIcon render() should render audio component 1`] = `
10
+ exports[`icons/item-icon/ItemIcon render() should render audio component with additional props 1`] = `
11
11
  <FileAudio32
12
- height={32}
13
- width={32}
12
+ className="test"
13
+ height={10}
14
+ title="title"
15
+ width={10}
14
16
  />
15
17
  `;
16
18
 
@@ -21,22 +23,8 @@ exports[`icons/item-icon/ItemIcon render() should render bookmark component 1`]
21
23
  />
22
24
  `;
23
25
 
24
- exports[`icons/item-icon/ItemIcon render() should render boxnote component 1`] = `
25
- <FileBoxNote32
26
- height={32}
27
- width={32}
28
- />
29
- `;
30
-
31
- exports[`icons/item-icon/ItemIcon render() should render code component 1`] = `
32
- <FileCode32
33
- height={32}
34
- width={32}
35
- />
36
- `;
37
-
38
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 1`] = `
39
- <FileAudio32
26
+ exports[`icons/item-icon/ItemIcon render() should render bookmark component with additional props 1`] = `
27
+ <FileBookmark32
40
28
  className="test"
41
29
  height={10}
42
30
  title="title"
@@ -44,16 +32,14 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
44
32
  />
45
33
  `;
46
34
 
47
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 2`] = `
48
- <FileBookmark32
49
- className="test"
50
- height={10}
51
- title="title"
52
- width={10}
35
+ exports[`icons/item-icon/ItemIcon render() should render boxnote component 1`] = `
36
+ <FileBoxNote32
37
+ height={32}
38
+ width={32}
53
39
  />
54
40
  `;
55
41
 
56
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 3`] = `
42
+ exports[`icons/item-icon/ItemIcon render() should render boxnote component with additional props 1`] = `
57
43
  <FileBoxNote32
58
44
  className="test"
59
45
  height={10}
@@ -62,17 +48,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
62
48
  />
63
49
  `;
64
50
 
65
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 4`] = `
51
+ exports[`icons/item-icon/ItemIcon render() should render code component 1`] = `
66
52
  <FileCode32
67
- className="test"
68
- height={10}
69
- title="title"
70
- width={10}
53
+ height={32}
54
+ width={32}
71
55
  />
72
56
  `;
73
57
 
74
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 5`] = `
75
- <FileDefault32
58
+ exports[`icons/item-icon/ItemIcon render() should render code component with additional props 1`] = `
59
+ <FileCode32
76
60
  className="test"
77
61
  height={10}
78
62
  title="title"
@@ -80,17 +64,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
80
64
  />
81
65
  `;
82
66
 
83
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 6`] = `
84
- <FileText32
85
- className="test"
86
- height={10}
87
- title="title"
88
- width={10}
67
+ exports[`icons/item-icon/ItemIcon render() should render default component 1`] = `
68
+ <FileDefault32
69
+ height={32}
70
+ width={32}
89
71
  />
90
72
  `;
91
73
 
92
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 7`] = `
93
- <FileDwg32
74
+ exports[`icons/item-icon/ItemIcon render() should render default component with additional props 1`] = `
75
+ <FileDefault32
94
76
  className="test"
95
77
  height={10}
96
78
  title="title"
@@ -98,17 +80,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
98
80
  />
99
81
  `;
100
82
 
101
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 8`] = `
102
- <FileExcel32
103
- className="test"
104
- height={10}
105
- title="title"
106
- width={10}
83
+ exports[`icons/item-icon/ItemIcon render() should render document component 1`] = `
84
+ <FileText32
85
+ height={32}
86
+ width={32}
107
87
  />
108
88
  `;
109
89
 
110
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 9`] = `
111
- <FolderShared32
90
+ exports[`icons/item-icon/ItemIcon render() should render document component with additional props 1`] = `
91
+ <FileText32
112
92
  className="test"
113
93
  height={10}
114
94
  title="title"
@@ -116,17 +96,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
116
96
  />
117
97
  `;
118
98
 
119
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 10`] = `
120
- <FolderExternal32
121
- className="test"
122
- height={10}
123
- title="title"
124
- width={10}
99
+ exports[`icons/item-icon/ItemIcon render() should render docuworks-binder component 1`] = `
100
+ <FileXbd32
101
+ height={32}
102
+ width={32}
125
103
  />
126
104
  `;
127
105
 
128
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 11`] = `
129
- <FolderPersonal32
106
+ exports[`icons/item-icon/ItemIcon render() should render docuworks-binder component with additional props 1`] = `
107
+ <FileXbd32
130
108
  className="test"
131
109
  height={10}
132
110
  title="title"
@@ -134,17 +112,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
134
112
  />
135
113
  `;
136
114
 
137
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 12`] = `
138
- <FileDocs32
139
- className="test"
140
- height={10}
141
- title="title"
142
- width={10}
115
+ exports[`icons/item-icon/ItemIcon render() should render docuworks-file component 1`] = `
116
+ <FileXdw32
117
+ height={32}
118
+ width={32}
143
119
  />
144
120
  `;
145
121
 
146
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 13`] = `
147
- <FileSheets32
122
+ exports[`icons/item-icon/ItemIcon render() should render docuworks-file component with additional props 1`] = `
123
+ <FileXdw32
148
124
  className="test"
149
125
  height={10}
150
126
  title="title"
@@ -152,17 +128,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
152
128
  />
153
129
  `;
154
130
 
155
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 14`] = `
156
- <FileSlides32
157
- className="test"
158
- height={10}
159
- title="title"
160
- width={10}
131
+ exports[`icons/item-icon/ItemIcon render() should render dwg component 1`] = `
132
+ <FileDwg32
133
+ height={32}
134
+ width={32}
161
135
  />
162
136
  `;
163
137
 
164
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 15`] = `
165
- <FileIllustrator32
138
+ exports[`icons/item-icon/ItemIcon render() should render dwg component with additional props 1`] = `
139
+ <FileDwg32
166
140
  className="test"
167
141
  height={10}
168
142
  title="title"
@@ -170,17 +144,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
170
144
  />
171
145
  `;
172
146
 
173
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 16`] = `
174
- <FileImage32
175
- className="test"
176
- height={10}
177
- title="title"
178
- width={10}
147
+ exports[`icons/item-icon/ItemIcon render() should render excel-spreadsheet component 1`] = `
148
+ <FileExcel32
149
+ height={32}
150
+ width={32}
179
151
  />
180
152
  `;
181
153
 
182
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 17`] = `
183
- <FileIndesign32
154
+ exports[`icons/item-icon/ItemIcon render() should render excel-spreadsheet component with additional props 1`] = `
155
+ <FileExcel32
184
156
  className="test"
185
157
  height={10}
186
158
  title="title"
@@ -188,17 +160,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
188
160
  />
189
161
  `;
190
162
 
191
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 18`] = `
192
- <FileKeynote32
193
- className="test"
194
- height={10}
195
- title="title"
196
- width={10}
163
+ exports[`icons/item-icon/ItemIcon render() should render folder-collab component 1`] = `
164
+ <FolderShared32
165
+ height={32}
166
+ width={32}
197
167
  />
198
168
  `;
199
169
 
200
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 19`] = `
201
- <FileNumbers32
170
+ exports[`icons/item-icon/ItemIcon render() should render folder-collab component with additional props 1`] = `
171
+ <FolderShared32
202
172
  className="test"
203
173
  height={10}
204
174
  title="title"
@@ -206,17 +176,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
206
176
  />
207
177
  `;
208
178
 
209
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 20`] = `
210
- <FilePages32
211
- className="test"
212
- height={10}
213
- title="title"
214
- width={10}
179
+ exports[`icons/item-icon/ItemIcon render() should render folder-external component 1`] = `
180
+ <FolderExternal32
181
+ height={32}
182
+ width={32}
215
183
  />
216
184
  `;
217
185
 
218
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 21`] = `
219
- <FilePdf32
186
+ exports[`icons/item-icon/ItemIcon render() should render folder-external component with additional props 1`] = `
187
+ <FolderExternal32
220
188
  className="test"
221
189
  height={10}
222
190
  title="title"
@@ -224,17 +192,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
224
192
  />
225
193
  `;
226
194
 
227
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 22`] = `
228
- <FilePhotoshop32
229
- className="test"
230
- height={10}
231
- title="title"
232
- width={10}
195
+ exports[`icons/item-icon/ItemIcon render() should render folder-plain component 1`] = `
196
+ <FolderPersonal32
197
+ height={32}
198
+ width={32}
233
199
  />
234
200
  `;
235
201
 
236
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 23`] = `
237
- <FilePowerpoint32
202
+ exports[`icons/item-icon/ItemIcon render() should render folder-plain component with additional props 1`] = `
203
+ <FolderPersonal32
238
204
  className="test"
239
205
  height={10}
240
206
  title="title"
@@ -242,17 +208,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
242
208
  />
243
209
  `;
244
210
 
245
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 24`] = `
246
- <FilePresentation32
247
- className="test"
248
- height={10}
249
- title="title"
250
- width={10}
211
+ exports[`icons/item-icon/ItemIcon render() should render google-docs component 1`] = `
212
+ <FileDocs32
213
+ height={32}
214
+ width={32}
251
215
  />
252
216
  `;
253
217
 
254
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 25`] = `
255
- <FileSpreadsheet32
218
+ exports[`icons/item-icon/ItemIcon render() should render google-docs component with additional props 1`] = `
219
+ <FileDocs32
256
220
  className="test"
257
221
  height={10}
258
222
  title="title"
@@ -260,17 +224,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
260
224
  />
261
225
  `;
262
226
 
263
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 26`] = `
264
- <FileText32
265
- className="test"
266
- height={10}
267
- title="title"
268
- width={10}
227
+ exports[`icons/item-icon/ItemIcon render() should render google-sheets component 1`] = `
228
+ <FileSheets32
229
+ height={32}
230
+ width={32}
269
231
  />
270
232
  `;
271
233
 
272
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 27`] = `
273
- <FileThreeD32
234
+ exports[`icons/item-icon/ItemIcon render() should render google-sheets component with additional props 1`] = `
235
+ <FileSheets32
274
236
  className="test"
275
237
  height={10}
276
238
  title="title"
@@ -278,17 +240,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
278
240
  />
279
241
  `;
280
242
 
281
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 28`] = `
282
- <FolderPersonal32
283
- className="test"
284
- height={10}
285
- title="title"
286
- width={10}
243
+ exports[`icons/item-icon/ItemIcon render() should render google-slides component 1`] = `
244
+ <FileSlides32
245
+ height={32}
246
+ width={32}
287
247
  />
288
248
  `;
289
249
 
290
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 29`] = `
291
- <FileVector32
250
+ exports[`icons/item-icon/ItemIcon render() should render google-slides component with additional props 1`] = `
251
+ <FileSlides32
292
252
  className="test"
293
253
  height={10}
294
254
  title="title"
@@ -296,17 +256,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
296
256
  />
297
257
  `;
298
258
 
299
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 30`] = `
300
- <FileVideo32
301
- className="test"
302
- height={10}
303
- title="title"
304
- width={10}
259
+ exports[`icons/item-icon/ItemIcon render() should render illustrator component 1`] = `
260
+ <FileIllustrator32
261
+ height={32}
262
+ width={32}
305
263
  />
306
264
  `;
307
265
 
308
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 31`] = `
309
- <FileWord32
266
+ exports[`icons/item-icon/ItemIcon render() should render illustrator component with additional props 1`] = `
267
+ <FileIllustrator32
310
268
  className="test"
311
269
  height={10}
312
270
  title="title"
@@ -314,17 +272,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
314
272
  />
315
273
  `;
316
274
 
317
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 32`] = `
318
- <FileXbd32
319
- className="test"
320
- height={10}
321
- title="title"
322
- width={10}
275
+ exports[`icons/item-icon/ItemIcon render() should render image component 1`] = `
276
+ <FileImage32
277
+ height={32}
278
+ width={32}
323
279
  />
324
280
  `;
325
281
 
326
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 33`] = `
327
- <FileXdw32
282
+ exports[`icons/item-icon/ItemIcon render() should render image component with additional props 1`] = `
283
+ <FileImage32
328
284
  className="test"
329
285
  height={10}
330
286
  title="title"
@@ -332,17 +288,15 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
332
288
  />
333
289
  `;
334
290
 
335
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 34`] = `
336
- <FileZip32
337
- className="test"
338
- height={10}
339
- title="title"
340
- width={10}
291
+ exports[`icons/item-icon/ItemIcon render() should render indesign component 1`] = `
292
+ <FileIndesign32
293
+ height={32}
294
+ width={32}
341
295
  />
342
296
  `;
343
297
 
344
- exports[`icons/item-icon/ItemIcon render() should render component with additional props 35`] = `
345
- <FileDefault32
298
+ exports[`icons/item-icon/ItemIcon render() should render indesign component with additional props 1`] = `
299
+ <FileIndesign32
346
300
  className="test"
347
301
  height={10}
348
302
  title="title"
@@ -350,185 +304,195 @@ exports[`icons/item-icon/ItemIcon render() should render component with addition
350
304
  />
351
305
  `;
352
306
 
353
- exports[`icons/item-icon/ItemIcon render() should render default component 1`] = `
354
- <FileDefault32
355
- height={32}
356
- width={32}
357
- />
358
- `;
359
-
360
- exports[`icons/item-icon/ItemIcon render() should render document component 1`] = `
361
- <FileText32
362
- height={32}
363
- width={32}
364
- />
365
- `;
366
-
367
- exports[`icons/item-icon/ItemIcon render() should render dwg component 1`] = `
368
- <FileDwg32
307
+ exports[`icons/item-icon/ItemIcon render() should render keynote component 1`] = `
308
+ <FileKeynote32
369
309
  height={32}
370
310
  width={32}
371
311
  />
372
312
  `;
373
313
 
374
- exports[`icons/item-icon/ItemIcon render() should render excel-spreadsheet component 1`] = `
375
- <FileExcel32
376
- height={32}
377
- width={32}
314
+ exports[`icons/item-icon/ItemIcon render() should render keynote component with additional props 1`] = `
315
+ <FileKeynote32
316
+ className="test"
317
+ height={10}
318
+ title="title"
319
+ width={10}
378
320
  />
379
321
  `;
380
322
 
381
- exports[`icons/item-icon/ItemIcon render() should render folder-collab component 1`] = `
382
- <FolderShared32
323
+ exports[`icons/item-icon/ItemIcon render() should render numbers component 1`] = `
324
+ <FileNumbers32
383
325
  height={32}
384
326
  width={32}
385
327
  />
386
328
  `;
387
329
 
388
- exports[`icons/item-icon/ItemIcon render() should render folder-external component 1`] = `
389
- <FolderExternal32
390
- height={32}
391
- width={32}
330
+ exports[`icons/item-icon/ItemIcon render() should render numbers component with additional props 1`] = `
331
+ <FileNumbers32
332
+ className="test"
333
+ height={10}
334
+ title="title"
335
+ width={10}
392
336
  />
393
337
  `;
394
338
 
395
- exports[`icons/item-icon/ItemIcon render() should render folder-plain component 1`] = `
396
- <FolderPersonal32
339
+ exports[`icons/item-icon/ItemIcon render() should render pages component 1`] = `
340
+ <FilePages32
397
341
  height={32}
398
342
  width={32}
399
343
  />
400
344
  `;
401
345
 
402
- exports[`icons/item-icon/ItemIcon render() should render folder-plain component 2`] = `
403
- <FolderPersonal32
404
- height={32}
405
- width={32}
346
+ exports[`icons/item-icon/ItemIcon render() should render pages component with additional props 1`] = `
347
+ <FilePages32
348
+ className="test"
349
+ height={10}
350
+ title="title"
351
+ width={10}
406
352
  />
407
353
  `;
408
354
 
409
- exports[`icons/item-icon/ItemIcon render() should render google-docs component 1`] = `
410
- <FileDocs32
355
+ exports[`icons/item-icon/ItemIcon render() should render pdf component 1`] = `
356
+ <FilePdf32
411
357
  height={32}
412
358
  width={32}
413
359
  />
414
360
  `;
415
361
 
416
- exports[`icons/item-icon/ItemIcon render() should render google-sheets component 1`] = `
417
- <FileSheets32
418
- height={32}
419
- width={32}
362
+ exports[`icons/item-icon/ItemIcon render() should render pdf component with additional props 1`] = `
363
+ <FilePdf32
364
+ className="test"
365
+ height={10}
366
+ title="title"
367
+ width={10}
420
368
  />
421
369
  `;
422
370
 
423
- exports[`icons/item-icon/ItemIcon render() should render google-slides component 1`] = `
424
- <FileSlides32
371
+ exports[`icons/item-icon/ItemIcon render() should render photoshop component 1`] = `
372
+ <FilePhotoshop32
425
373
  height={32}
426
374
  width={32}
427
375
  />
428
376
  `;
429
377
 
430
- exports[`icons/item-icon/ItemIcon render() should render illustrator component 1`] = `
431
- <FileIllustrator32
432
- height={32}
433
- width={32}
378
+ exports[`icons/item-icon/ItemIcon render() should render photoshop component with additional props 1`] = `
379
+ <FilePhotoshop32
380
+ className="test"
381
+ height={10}
382
+ title="title"
383
+ width={10}
434
384
  />
435
385
  `;
436
386
 
437
- exports[`icons/item-icon/ItemIcon render() should render image component 1`] = `
438
- <FileImage32
387
+ exports[`icons/item-icon/ItemIcon render() should render powerpoint-presentation component 1`] = `
388
+ <FilePowerpoint32
439
389
  height={32}
440
390
  width={32}
441
391
  />
442
392
  `;
443
393
 
444
- exports[`icons/item-icon/ItemIcon render() should render indesign component 1`] = `
445
- <FileIndesign32
446
- height={32}
447
- width={32}
394
+ exports[`icons/item-icon/ItemIcon render() should render powerpoint-presentation component with additional props 1`] = `
395
+ <FilePowerpoint32
396
+ className="test"
397
+ height={10}
398
+ title="title"
399
+ width={10}
448
400
  />
449
401
  `;
450
402
 
451
- exports[`icons/item-icon/ItemIcon render() should render keynote component 1`] = `
452
- <FileKeynote32
403
+ exports[`icons/item-icon/ItemIcon render() should render presentation component 1`] = `
404
+ <FilePresentation32
453
405
  height={32}
454
406
  width={32}
455
407
  />
456
408
  `;
457
409
 
458
- exports[`icons/item-icon/ItemIcon render() should render numbers component 1`] = `
459
- <FileNumbers32
460
- height={32}
461
- width={32}
410
+ exports[`icons/item-icon/ItemIcon render() should render presentation component with additional props 1`] = `
411
+ <FilePresentation32
412
+ className="test"
413
+ height={10}
414
+ title="title"
415
+ width={10}
462
416
  />
463
417
  `;
464
418
 
465
- exports[`icons/item-icon/ItemIcon render() should render pages component 1`] = `
466
- <FilePages32
419
+ exports[`icons/item-icon/ItemIcon render() should render spreadsheet component 1`] = `
420
+ <FileSpreadsheet32
467
421
  height={32}
468
422
  width={32}
469
423
  />
470
424
  `;
471
425
 
472
- exports[`icons/item-icon/ItemIcon render() should render pdf component 1`] = `
473
- <FilePdf32
474
- height={32}
475
- width={32}
426
+ exports[`icons/item-icon/ItemIcon render() should render spreadsheet component with additional props 1`] = `
427
+ <FileSpreadsheet32
428
+ className="test"
429
+ height={10}
430
+ title="title"
431
+ width={10}
476
432
  />
477
433
  `;
478
434
 
479
- exports[`icons/item-icon/ItemIcon render() should render photoshop component 1`] = `
480
- <FilePhotoshop32
435
+ exports[`icons/item-icon/ItemIcon render() should render text component 1`] = `
436
+ <FileText32
481
437
  height={32}
482
438
  width={32}
483
439
  />
484
440
  `;
485
441
 
486
- exports[`icons/item-icon/ItemIcon render() should render powerpoint-presentation component 1`] = `
487
- <FilePowerpoint32
488
- height={32}
489
- width={32}
442
+ exports[`icons/item-icon/ItemIcon render() should render text component with additional props 1`] = `
443
+ <FileText32
444
+ className="test"
445
+ height={10}
446
+ title="title"
447
+ width={10}
490
448
  />
491
449
  `;
492
450
 
493
- exports[`icons/item-icon/ItemIcon render() should render presentation component 1`] = `
494
- <FilePresentation32
451
+ exports[`icons/item-icon/ItemIcon render() should render threed component 1`] = `
452
+ <FileThreeD32
495
453
  height={32}
496
454
  width={32}
497
455
  />
498
456
  `;
499
457
 
500
- exports[`icons/item-icon/ItemIcon render() should render spreadsheet component 1`] = `
501
- <FileSpreadsheet32
502
- height={32}
503
- width={32}
458
+ exports[`icons/item-icon/ItemIcon render() should render threed component with additional props 1`] = `
459
+ <FileThreeD32
460
+ className="test"
461
+ height={10}
462
+ title="title"
463
+ width={10}
504
464
  />
505
465
  `;
506
466
 
507
- exports[`icons/item-icon/ItemIcon render() should render text component 1`] = `
508
- <FileText32
467
+ exports[`icons/item-icon/ItemIcon render() should render vector component 1`] = `
468
+ <FileVector32
509
469
  height={32}
510
470
  width={32}
511
471
  />
512
472
  `;
513
473
 
514
- exports[`icons/item-icon/ItemIcon render() should render threed component 1`] = `
515
- <FileThreeD32
516
- height={32}
517
- width={32}
474
+ exports[`icons/item-icon/ItemIcon render() should render vector component with additional props 1`] = `
475
+ <FileVector32
476
+ className="test"
477
+ height={10}
478
+ title="title"
479
+ width={10}
518
480
  />
519
481
  `;
520
482
 
521
- exports[`icons/item-icon/ItemIcon render() should render vector component 1`] = `
522
- <FileVector32
483
+ exports[`icons/item-icon/ItemIcon render() should render video component 1`] = `
484
+ <FileVideo32
523
485
  height={32}
524
486
  width={32}
525
487
  />
526
488
  `;
527
489
 
528
- exports[`icons/item-icon/ItemIcon render() should render video component 1`] = `
490
+ exports[`icons/item-icon/ItemIcon render() should render video component with additional props 1`] = `
529
491
  <FileVideo32
530
- height={32}
531
- width={32}
492
+ className="test"
493
+ height={10}
494
+ title="title"
495
+ width={10}
532
496
  />
533
497
  `;
534
498
 
@@ -539,23 +503,27 @@ exports[`icons/item-icon/ItemIcon render() should render word-document component
539
503
  />
540
504
  `;
541
505
 
542
- exports[`icons/item-icon/ItemIcon render() should render xbd component 1`] = `
543
- <FileXbd32
544
- height={32}
545
- width={32}
506
+ exports[`icons/item-icon/ItemIcon render() should render word-document component with additional props 1`] = `
507
+ <FileWord32
508
+ className="test"
509
+ height={10}
510
+ title="title"
511
+ width={10}
546
512
  />
547
513
  `;
548
514
 
549
- exports[`icons/item-icon/ItemIcon render() should render xdw component 1`] = `
550
- <FileXdw32
515
+ exports[`icons/item-icon/ItemIcon render() should render zip component 1`] = `
516
+ <FileZip32
551
517
  height={32}
552
518
  width={32}
553
519
  />
554
520
  `;
555
521
 
556
- exports[`icons/item-icon/ItemIcon render() should render zip component 1`] = `
522
+ exports[`icons/item-icon/ItemIcon render() should render zip component with additional props 1`] = `
557
523
  <FileZip32
558
- height={32}
559
- width={32}
524
+ className="test"
525
+ height={10}
526
+ title="title"
527
+ width={10}
560
528
  />
561
529
  `;