UNPKG

@bigbinary/react-timeline-editor

Version:

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

21 lines (20 loc) 745 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; isLastRow: boolean; isCursorDragging: boolean; rowIndex: number; style?: React.CSSProperties; dragLineData: DragLineData; setEditorData: (params: TimelineRow[]) => void; /** 距离左侧滚动距离 */ scrollLeft: number; /** 设置scroll left */ deltaScrollLeft: (scrollLeft: number) => void; }; export declare const EditRow: FC<EditRowProps>;