Skip to content

Commit 071e5cb

Browse files
committed
fix(file-explorer): add barrel export and remove unused siblingNames prop
- Add src/components/file-explorer/index.ts barrel export for DeleteConfirmDialog and NewItemDialog with their prop types - Remove unused siblingNames optional prop from VirtualItemProps in types.ts (was never passed or consumed)
1 parent 3461920 commit 071e5cb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/explorer/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export interface VirtualItemProps {
8484
indentGuidesEnabled: boolean;
8585
enablePreview: boolean;
8686
isEntering: boolean;
87-
siblingNames?: string[];
8887
onSelect: (path: string, event?: MouseEvent) => void;
8988
onOpen: (entry: FileEntry) => void;
9089
onOpenPreview: (entry: FileEntry) => void;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export { DeleteConfirmDialog } from "./DeleteConfirmDialog";
2+
export type { DeleteConfirmDialogProps } from "./DeleteConfirmDialog";
3+
export { NewItemDialog } from "./NewItemDialog";
4+
export type { NewItemDialogProps } from "./NewItemDialog";

0 commit comments

Comments
 (0)