@oceanbase-odc/ob-react-data-grid
Version:
Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like
9 lines • 376 B
TypeScript
import { DataGridProps, DataGridRef, RowsChangeData } from '../types';
interface UsePasteArgs<R> {
gridContext: DataGridRef<R>;
patchRows: (data: RowsChangeData<R>) => void;
pasteFormatter: DataGridProps<R>['pasteFormatter'];
}
export declare function usePaste<R>(options: UsePasteArgs<R>): (text: string) => void;
export {};
//# sourceMappingURL=usePaste.d.ts.map