UNPKG

react-phylogeny-tree-gl

Version:

React integration of phylocanvas.gl. Component and hook for phylogenetic tree visualistion.

6 lines (5 loc) 418 B
import { Phylocanvas, Decorate, PhylocanvasProps } from '../types/phylocanvas.gl'; import { UndoRedoProps, UndoRedoMethods } from '../types/react-phylogeny-tree'; declare type TrackedProps = (keyof PhylocanvasProps)[]; export declare function createRedoUndoPlugin(trackedProps?: TrackedProps): (tree: Phylocanvas<UndoRedoProps, UndoRedoMethods>, decorate: Decorate<UndoRedoProps, UndoRedoMethods>) => void; export {};