Skip to content

Commit

Permalink
Merge pull request #247 from rebeccaalpert/uploads
Browse files Browse the repository at this point in the history
feat(FileDetails): Add additional file types
  • Loading branch information
nicolethoen authored Oct 29, 2024
2 parents d7399c8 + 4b3250b commit f79b6f3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/module/src/FileDetails/FileDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,15 @@ export const extensionToLanguage = {
'rst.txt': 'reStructuredText',
wisp: 'wisp',
prg: 'xBase',
prw: 'xBase'
prw: 'xBase',
// manually added for Composer AI
doc: 'Document',
docx: 'Document',
odt: 'Document',
ppt: 'Presentation',
pptx: 'Presentation',
odp: 'Presentation',
pdf: 'PDF'
};

export const FileDetails = ({ fileName }: PropsWithChildren<FileDetailsProps>) => {
Expand Down

0 comments on commit f79b6f3

Please sign in to comment.