UNPKG

@cloudgpt/timeline-editor

Version:

Enhanced React timeline editor with advanced features including theme system, max duration controls, cursor customization, handle styling, and media support for video editing applications.

18 lines (17 loc) 648 B
import React, { FC } from 'react'; import { TimelineRow } from '../../interface/action'; import { CommonProp } from '../../interface/common_prop'; import { DragLineData } from './drag_lines'; import './edit_row.less'; export type EditRowProps = CommonProp & { areaRef: React.MutableRefObject<HTMLDivElement>; rowData?: TimelineRow; style?: React.CSSProperties; dragLineData: DragLineData; setEditorData: (params: TimelineRow[]) => void; /** 距离左侧滚动距离 */ scrollLeft: number; /** 设置scroll left */ deltaScrollLeft: (scrollLeft: number) => void; }; export declare const EditRow: FC<EditRowProps>;