Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
slate-react / dist / hooks / use-slate.d.ts
Size: Mime:
/// <reference types="react" />
import { ReactEditor } from '../plugin/react-editor';
/**
 * A React context for sharing the editor object, in a way that re-renders the
 * context whenever changes occur.
 */
export declare const SlateContext: import("react").Context<[ReactEditor] | null>;
/**
 * Get the current editor object from the React context.
 */
export declare const useSlate: () => ReactEditor;
//# sourceMappingURL=use-slate.d.ts.map