@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
12 lines • 454 B
TypeScript
import { PaneMenuItem } from '../../types';
import { DeskToolFeatures } from '../../contexts/deskTool';
interface Params {
features: DeskToolFeatures;
changesOpen: boolean;
hasValue: boolean;
previewUrl: string | null;
}
export declare const getProductionPreviewItem: ({ previewUrl }: Params) => PaneMenuItem | null;
export declare const getMenuItems: (params: Params) => PaneMenuItem[];
export {};
//# sourceMappingURL=menuItems.d.ts.map