Toolbar
Home > @anocca/sequence-viewer-react-mui > Toolbar
A toolbar component.
See: CircularSelection, SeqAnnotationDirectionsEnum
Signature:
Toolbar: ({ selectedAnnotations, circularSelections, setCircularSelection, isCircularViewer, sequence, createAnnotation, onHide, onShow, onDelete, onCopySuccess, onCopyError }: {
selectedAnnotations: string[];
circularSelections: CircularSelection[];
setCircularSelection: (annotationId: string | undefined, cc: CircularSelection[]) => void;
isCircularViewer: boolean;
sequence: string;
createAnnotation: (locations: [number, number][], direction: SeqAnnotationDirectionsEnum) => void;
onHide: (selectionAnnotations: string[]) => void;
onShow: (selectionAnnotations: string[]) => void;
onDelete: (selectionAnnotations: string[]) => void;
onCopySuccess?: (() => void) | undefined;
onCopyError?: (() => void) | undefined;
}) => JSX.Element