Skip to content

Commit 56d1dc1

Browse files
committed
Add field-array provider page
1 parent 2f57799 commit 56d1dc1

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

packages/react-renderer-demo/src/app/src/docs-components/field-array.md renamed to packages/react-renderer-demo/src/app/pages/renderer/field-array.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
import NavLink from 'next/link';
1+
import RouterLink from 'next/link';
2+
import Link from '@material-ui/core/Link';
3+
24
import RawComponent from '@docs/raw-component';
35

46
### Field Array Provider
57

6-
Simillarly to <NavLink href='/renderer/field-provider'><a>FieldProvider</a></NavLink> Data driven forms provide an option how to inlude <a href='https://github.com/final-form/react-final-form-arrays'>React Final Form Arrays</a> in your form.
8+
Simillarly to <RouterLink href='/renderer/field-provider'><Link>FieldProvider</Link></RouterLink> Data driven forms provide an option how to inlude <a href='https://github.com/final-form/react-final-form-arrays'>React Final Form Arrays</a> in your form.
79

810
<b>Please visit their documentation to learn about functionality.</b>
911

@@ -49,7 +51,7 @@ You don't need to name the nested components, then the values are saved as an ar
4951

5052
### Validators
5153

52-
You can use user a few provided validators (you can also use your <NavLink href='/renderer/validators'><a>own</a></NavLink>.)
54+
You can use user a few provided validators (you can also use your <RouterLink href='/renderer/validators'><Link>own</Link></RouterLink>.)
5355

5456
```jsx
5557
MIN_ITEMS_VALIDATOR: ({threshold})

packages/react-renderer-demo/src/app/src/components/navigation/documentation-pages.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export const docs = [{
3131
}, {
3232
component: 'field-provider',
3333
linkText: 'Custom components',
34+
}, {
35+
component: 'field-array',
36+
linkText: 'FieldArray Provider',
3437
}, {
3538
component: 'form-controls',
3639
linkText: 'Form buttons',

0 commit comments

Comments
 (0)