Skip to content

Commit 74159de

Browse files
fix: add missing export for useLeaf hook (#6693)
1 parent ba92d86 commit 74159de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/richtext-slate/src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ export { ElementButton } from './field/elements/Button.js'
107107

108108
export { toggleElement } from './field/elements/toggle.js'
109109
export { LeafButton } from './field/leaves/Button.js'
110+
export { useLeaf } from './field/providers/LeafProvider.js'
111+
110112
export type {
111113
AdapterArguments,
112114
ElementNode,

0 commit comments

Comments
 (0)