UNPKG

@prosekit/svelte

Version:

Svelte components and utilities for ProseKit

10 lines (9 loc) 719 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 { 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';