ra-core
Version: 
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
18 lines • 738 B
TypeScript
import * as React from 'react';
import { ReactElement } from 'react';
export declare const PreferencesEditorContext: React.Context<PreferencesEditorContextValue | undefined>;
export type PreferencesEditorContextValue = {
    editor: ReactElement | null;
    setEditor: React.Dispatch<React.SetStateAction<ReactElement | null>>;
    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