fix: support mdx files close #11557 (#11565)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong 2024-12-12 13:37:56 +08:00 • committed by GitHub
commit 36cb25b341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 6 deletions

View file

@ -36,6 +36,7 @@ const FileIcon: FC<FileIconProps> = ({
return <Json className={className} />
case 'md':
case 'markdown':
case 'mdx':
return <Md className={className} />
case 'pdf':
return <Pdf className={className} />