Live demo
Docs
API Reference
GitHub
MDXEditor
Headings
Quote
Links
Link Dialog
Lists
Image
Table
Thematic Break
Toolbar
Toolbar Components
Toolbar Primitives
Code Block
CodeMirror
Sandpack
Diff/Source
Directive
HTML
JSX
Frontmatter
Markdown Shortcuts
Markdown Processing
Core
Custom Editor Primitives
Utils
VoidEmitter
IS_APPLE
onWindowChange$
always
call
compose
controlOrMeta
curry1to0
curry2to1
fromWithinEditorRead
getSelectedNode
getSelectionRectangle
joinProc
noop
prop
tap
thrush
voidEmitter
Classes
Functions
Interfaces
Type Aliases
Utilities
Variables
Function: thrush()
thrush
<
I
,
K
>(
arg
,
proc
):
K
Takes a value and applies a function to it.
Type parameters
Type parameter
I
K
Parameters
Parameter
Type
arg
I
proc
(
arg
) =>
K
Returns
K