Skip to content

Commit d036fe7

Browse files
committed
Fix for links in documentation
1 parent 949dc19 commit d036fe7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

readme.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -236,29 +236,29 @@ export const MyComponent: FC = () => (
236236

237237
React 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

243243
React hook that transforms given Slate nodes to React elements and memoizes the result.
244244

245245
This 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

254254
Transforms given Slate `nodes` to react elements.
255255

256256
This 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

263263
Returns `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

Comments
 (0)