ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
17 lines • 692 B
TypeScript
import * as React from 'react';
export declare const PreferencesEditorContext: React.Context<PreferencesEditorContextValue | undefined>;
export type PreferencesEditorContextValue = {
editor: React.ReactNode;
setEditor: React.Dispatch<React.SetStateAction<React.ReactNode>>;
preferenceKey: string | null;
setPreferenceKey: React.Dispatch<React.SetStateAction<string | null>>;
title: string | null;
titleOptions?: any;
setTitle: (title: string, titleOptions?: any) => void;
isEnabled: boolean;
enable: () => void;
disable: () => void;
path: string | null;
setPath: (path: string) => void;
};
//# sourceMappingURL=PreferencesEditorContext.d.ts.map