UNPKG

evo-timeline-editor-react

Version:

[![npm version](https://img.shields.io/npm/v/evo-timeline-editor-react?style=flat-square)](https://www.npmjs.com/package/evo-timeline-editor-react)

17 lines (16 loc) 633 B
import { default as React, FC } from 'react'; import { TimelineRow } from '../../interface/action'; import { CommonProp } from '../../interface/common_prop'; import { DragLineData } from './drag_lines'; 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>;