Skip to content

Commit 017cb2b

Browse files
committed
Swapped router dom link with next link
1 parent 54e8d75 commit 017cb2b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/react-renderer-demo/pages/renderer/component-api.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { NavLink } from 'react-router-dom';
2-
import ExampleLink from './component-api/exampleLink';
31
import Grid from '@material-ui/core/Grid'
2+
import Link from 'next/link';
43

54
import ListOfContents from '../../src/helpers/list-of-contents';
65
import ExampleLink from '@docs/components/common/example-link';
@@ -53,7 +52,7 @@ All those components provides a shared group of props:
5352
|isRequired|boolean|Is the field required?|
5453
|isDisabled|boolean|Is the field disabled?|
5554
|isReadOnly|boolean|Is the field readOnly?|
56-
|initialValue|custom|There are two ways how to set initial values in the form: you can use either the <NavLink to="/renderer/renderer-api">initialValues</NavLink> prop for the whole form or you can set the value in the schema for each field separately. For more information, please see [here](https://final-form.org/docs/react-final-form/types/FieldProps#initialvalue).|
55+
|initialValue|custom|There are two ways how to set initial values in the form: you can use either the <Link href="/renderer/renderer-api"><a>initialValues</a></Link> prop for the whole form or you can set the value in the schema for each field separately. For more information, please see [here](https://final-form.org/docs/react-final-form/types/FieldProps#initialvalue).|
5756

5857
#### Text field
5958

0 commit comments

Comments
 (0)