UNPKG

@mini-markdown-rc/editor

Version:
14 lines (13 loc) 568 B
import { EditorView } from '@codemirror/view'; interface EditorContentStoreType { content: string; setContent: (content: string) => void; scrollWrapper: string; setScrollWrapper: (scrollWrapper: string) => void; editorView: EditorView | null; setEditorView: (view: EditorView | null) => void; previewView: HTMLElement | null; setPreviewView: (view: HTMLElement | null) => void; } declare const useEditorContentStore: import('zustand').UseBoundStore<import('zustand').StoreApi<EditorContentStoreType>>; export { useEditorContentStore };