MCPcopy Create free account
hub / github.com/editablejs/editable / Children

Function Children

packages/editor/src/components/content.tsx:53–60  ·  view source on GitHub ↗
(props: Omit<Parameters<typeof useChildren>[0], 'node' | 'selection'>)

Source from the content-addressed store, hash-verified

51import { Locale } from '../plugin/locale'
52
53const Children = (props: Omit<Parameters<typeof useChildren>[0], 'node' | 'selection'>) => {
54 const editor = useEditable()
55 return (
56 <React.Fragment>
57 {useChildren({ ...props, node: editor, selection: editor.selection })}
58 </React.Fragment>
59 )
60}
61
62/**
63 * `EditableProps` are passed to the `<Editable>` component.

Callers

nothing calls this directly

Calls 2

useEditableFunction · 0.90
useChildrenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…