Skip to content

Commit 999db8c

Browse files
authored
fix(react-file-type-icons): Map onepart extension to onenote icon (#33318)
1 parent f7ad10b commit 999db8c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix(react-file-type-icons): Map onepart extension to onenote icon",
4+
"packageName": "@fluentui/react-file-type-icons",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/react-file-type-icons/src/FileTypeIconMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ export const FileTypeIconMap: { [key: string]: { extensions?: string[] } } = {
355355
multiple: {},
356356
one: {
357357
// This is a partial OneNote page or section export. Not whole notebooks, see "onetoc"
358-
extensions: ['one'],
358+
extensions: ['one', 'onepart'],
359359
},
360360
onetoc: {
361361
// This is an entire OneNote notebook.

0 commit comments

Comments
 (0)