diff --git a/packages/ui/src/components/file-explorer.tsx b/packages/ui/src/components/file-explorer.tsx
index 1b6dd80864..0365b5f7b2 100644
--- a/packages/ui/src/components/file-explorer.tsx
+++ b/packages/ui/src/components/file-explorer.tsx
@@ -108,16 +108,17 @@ function FolderItem({ children, value = '', isActive, content, link, level }: Fo
)
}
-interface FileItemProps {
+type FileItemProps = {
level: number
children: ReactNode
isActive?: boolean
link?: string
onClick?: () => void
tooltip?: TooltipProps['content']
+ [key: `data-${string}`]: any
}
-function FileItem({ children, isActive, level, link, onClick, tooltip }: FileItemProps) {
+function FileItem({ children, isActive, level, link, onClick, tooltip, ...dataProps }: FileItemProps) {
const comp = (