diff --git a/apps/web/src/pages/editing-planner/components/timeline/AddClipPicker.tsx b/apps/web/src/pages/editing-planner/components/timeline/AddClipPicker.tsx deleted file mode 100644 index 0afeb77c5..000000000 --- a/apps/web/src/pages/editing-planner/components/timeline/AddClipPicker.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import React from "react" -import type { ClipType } from "../../types" -import { CLIP_TYPE_ICONS, CLIP_TYPE_LABELS } from "../../constants/timeline" - -interface AddClipPickerProps { - pickerRef: React.RefObject - position: { top: number; right: number } - availableTypes: ClipType[] - addType: ClipType - onTypeChange: (type: ClipType) => void - onConfirm: () => void -} - -export const AddClipPicker: React.FC = ({ - pickerRef, - position, - availableTypes, - addType, - onTypeChange, - onConfirm, -}) => { - return ( -
-
添加片段
- - {/* 类型选择 */} -
- 类型: - {availableTypes.map((t) => ( - - ))} -
- - {/* 确认按钮 */} - -
- ) -}