Skip to content

Commit 1ae3403

Browse files
authored
Merge pull request #227 from rvsia/fieldArrayToC
Add table of contents to field array
2 parents ae92d5e + e8894cc commit 1ae3403

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/react-renderer-demo/src/app/pages/renderer/field-array.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
import RouterLink from 'next/link';
22
import Link from '@material-ui/core/Link';
3-
3+
import Grid from '@material-ui/core/Grid'
44
import RawComponent from '@docs/raw-component';
55

6+
import ListOfContents from '../../src/helpers/list-of-contents';
7+
8+
<Grid container item>
9+
<Grid item xs={12} md={10}>
10+
611
### Field Array Provider
712

813
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.
@@ -75,3 +80,9 @@ PF4 component mapper provides an experimental implementation of PF4 field arrays
7580
|noItemsMessage|`node`|A message which is shown, when there are no items in the array.|
7681

7782
<RawComponent source="field-array/pf4-demo" />
83+
84+
</Grid>
85+
<Grid item xs={false} md={2}>
86+
<ListOfContents file="renderer/field-array" />
87+
</Grid>
88+
</Grid>

0 commit comments

Comments
 (0)