@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
13 lines • 331 B
TypeScript
import { PaneNode } from '../types';
export interface BaseDeskToolPaneProps<T extends PaneNode['type']> {
paneKey: string;
index: number;
itemId: string;
childItemId: string;
isSelected: boolean;
isActive: boolean;
pane: Extract<PaneNode, {
type: T;
}>;
}
//# sourceMappingURL=types.d.ts.map