(props: Omit<Parameters<typeof useChildren>[0], 'node' | 'selection'>)
| 51 | import { Locale } from '../plugin/locale' |
| 52 | |
| 53 | const 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. |
nothing calls this directly
no test coverage detected
searching dependent graphs…