@@ -236,29 +236,29 @@ export const MyComponent: FC = () => (
236236
237237React component that will render given ` nodes ` as React elements.
238238
239- Available props listed in [ ` SlateViewProps ` ] ( #interface -slateviewprops ) interface section.
239+ Available props listed in [ ` SlateViewProps ` ] ( #type -slateviewprops ) interface section.
240240
241241### ` useSlateToReact(nodes[, options]) `
242242
243243React hook that transforms given Slate nodes to React elements and memoizes the result.
244244
245245This hook takes following arguments:
246246
247- | Name | Type | Required | Default | Description |
248- | ---------| :----------------------------------------------------------- :| :---------:| :-------:| ------------------------------------|
249- | nodes | ` Node[] ` | Yes | — | List of ` Slate ` nodes to transform |
250- | options | [ ` TransformNodesOptions ` ] ( #interface -transformnodesoptions ) | No | — | Additional transform options |
247+ | Name | Type | Required | Default | Description |
248+ | ---------| :------------------------------------------------------:| :---------:| :-------:| ------------------------------------|
249+ | nodes | ` Node[] ` | Yes | — | List of ` Slate ` nodes to transform |
250+ | options | [ ` TransformNodesOptions ` ] ( #type -transformnodesoptions ) | No | — | Additional transform options |
251251
252252### ` transformNodes(nodes[, options]) `
253253
254254Transforms given Slate ` nodes ` to react elements.
255255
256256This function takes following arguments:
257257
258- | Name | Type | Required | Default | Description |
259- | ---------| :----------------------------------------------------------- :| :---------:| :-------:| ------------------------------------|
260- | nodes | ` Node[] ` | Yes | — | List of ` Slate ` nodes to transform |
261- | options | [ ` TransformNodesOptions ` ] ( #interface -transformnodesoptions ) | No | — | Additional transform options |
258+ | Name | Type | Required | Default | Description |
259+ | ---------| :------------------------------------------------------:| :---------:| :-------:| ------------------------------------|
260+ | nodes | ` Node[] ` | Yes | — | List of ` Slate ` nodes to transform |
261+ | options | [ ` TransformNodesOptions ` ] ( #type -transformnodesoptions ) | No | — | Additional transform options |
262262
263263Returns ` ReactElement ` . All nodes will be wrapped within ` React.Fragment ` , so you can even return them from your components as-is.
264264
@@ -583,7 +583,7 @@ Additional transform options.
583583
584584### ` type SlateViewProps `
585585
586- Available props for ` SlateView ` component. Inherits [ ` TransformNodesOptions ` ] ( #interface -transformnodesoptions ) .
586+ Available props for ` SlateView ` component. Inherits [ ` TransformNodesOptions ` ] ( #type -transformnodesoptions ) .
587587
588588| Name | Type | Required | Default | Description |
589589| -------| :--------:| :---------:| :--------:| -------------------------------------------|
0 commit comments