Skip to content

Commit 972bfcf

Browse files
committed
Fix link in component-api
1 parent be7d3ad commit 972bfcf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Grid from '@material-ui/core/Grid'
2-
import Link from 'next/link';
2+
import RouterLink from 'next/link';
3+
import Link from '@material-ui/core/Link';
34

45
import ListOfContents from '../../src/helpers/list-of-contents';
56
import ExampleLink from '@docs/components/common/example-link';
@@ -52,7 +53,7 @@ All those components provides a shared group of props:
5253
|isRequired|boolean|Is the field required?|
5354
|isDisabled|boolean|Is the field disabled?|
5455
|isReadOnly|boolean|Is the field readOnly?|
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).|
56+
|initialValue|custom|There are two ways how to set initial values in the form: you can use either the <RouterLink href="/renderer/renderer-api"><Link>initialValues</Link></RouterLink> 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).|
5657

5758
#### Text field
5859

0 commit comments

Comments
 (0)