UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

19 lines 634 B
/** * @internal */ interface EnhancedObjectDialogContextValue { /** * A boolean indicating whether tree editing is enabled */ enabled: boolean; /** * A boolean indicating whether legacy editing is enabled - meaning that it will use the old modal based editing experience */ legacyEditing: boolean; } /** * @internal * @deprecated This hook is no longer used and will be removed in a future release as we make the enhanced object dialog the default. */ declare function useEnhancedObjectDialog(): EnhancedObjectDialogContextValue; export { useEnhancedObjectDialog as n, EnhancedObjectDialogContextValue as t };