File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/react-renderer-demo/src/app/pages/renderer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
- import Link from 'next/link';
1
+ import RouterNav from 'next/link';
2
+ import Link from '@material-ui/core /Link';
2
3
3
4
### Field Provider
4
5
import Grid from '@material-ui/core /Grid'
@@ -22,11 +23,11 @@ which adds additional methods that will help you to control your form state.
22
23
### Accessing FieldProvider
23
24
24
25
To use Fieldprovider, you first need to register a component to your component mapper.
25
- You can read more about that in <Link href =" /renderer/component-mapping " ><a >Component mapping</a ></Link >.
26
+ You can read more about that in <RouterNav href =" /renderer/component-mapping " ><Link >Component mapping</Link ></RouterNav >.
26
27
27
28
Each component will receive FieldProvider as a prop. Be aware that pre-defined component types are
28
29
automatically wrapped in FieldProvider. This is done to make it easier to create component mappers for
29
- standard form components. List of standard components is available <Link href =" /renderer/component-api " ><a >here</a ></Link >.
30
+ standard form components. List of standard components is available <RouterNav href =" /renderer/component-api " ><Link >here</Link ></RouterNav >.
30
31
31
32
### Using FieldProvider
32
33
You can’t perform that action at this time.
0 commit comments