UNPKG

@prosekit/svelte

Version:

Svelte components and utilities for ProseKit

30 lines (29 loc) 842 B
export { ProseKit, type ProseKitProps, } from './components/prosekit' export { defineSvelteMarkView, type SvelteMarkViewComponent, type SvelteMarkViewOptions, type SvelteMarkViewProps, } from './extensions/svelte-mark-view' export { defineSvelteNodeView, type SvelteNodeViewComponent, type SvelteNodeViewOptions, type SvelteNodeViewProps, } from './extensions/svelte-node-view' export { useDocChange } from './hooks/use-doc-change' export { useEditor } from './hooks/use-editor' export { useEditorDerivedValue, type UseEditorDerivedOptions, } from './hooks/use-editor-derived-value' export { useExtension, type UseExtensionOptions, } from './hooks/use-extension' export { useKeymap } from './hooks/use-keymap' export { useStateUpdate } from './hooks/use-state-update' export type { PropsWithClass } from './types'