@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
23 lines • 869 B
TypeScript
import { DocumentActionDescription } from '@sanity/base';
import React from 'react';
export interface KeyboardShortcutResponderProps {
actionsBoxElement?: HTMLElement | null;
activeIndex: number;
currentMinWidth?: number;
flex: number;
id: string;
minWidth: number;
onActionStart: (index: number) => void;
rootRef: React.Ref<HTMLDivElement>;
states: DocumentActionDescription[];
}
export interface DocumentActionShortcutsProps {
actionsBoxElement?: HTMLElement | null;
currentMinWidth?: number;
debug?: boolean;
flex: number;
minWidth: number;
rootRef: React.Ref<HTMLDivElement>;
}
export declare const DocumentActionShortcuts: React.MemoExoticComponent<(props: DocumentActionShortcutsProps & React.HTMLProps<HTMLDivElement>) => React.JSX.Element | null>;
//# sourceMappingURL=DocumentActionShortcuts.d.ts.map