@@ -375,7 +375,7 @@ The `useForm` hook returns an object with the following properties:
375
375
],
376
376
[
377
377
{
378
- value: "**\\\` data< \\\` **",
378
+ value: "**\\\` data\\\` **",
379
379
},
380
380
{
381
381
value: "The data to add to the row",
@@ -385,8 +385,8 @@ The `useForm` hook returns an object with the following properties:
385
385
/>
386
386
387
387
388
- \\\`\\\`\\ \` tsx
389
- { \\\` import { useForm } from "payload/components/forms";
388
+ \`\` \` tsx
389
+ import { useForm } from "payload/components/forms";
390
390
391
391
export const CustomArrayManager = () => {
392
392
const { addFieldRow } = useForm()
@@ -409,13 +409,13 @@ export const CustomArrayManager = () => {
409
409
Add Row
410
410
</button>
411
411
)
412
- }\\\` }
413
- \\\`\\\`\\ \`
412
+ }
413
+ \`\` \`
414
414
415
415
An example config to go along with the Custom Component
416
416
417
- \\\`\\\`\\ \` tsx
418
- { \\\` const ExampleCollection = {
417
+ \`\` \` tsx
418
+ const ExampleCollection = {
419
419
slug: "example-collection",
420
420
fields: [
421
421
{
@@ -438,8 +438,8 @@ An example config to go along with the Custom Component
438
438
},
439
439
},
440
440
],
441
- }\\\` }
442
- \\\`\\\`\\ \`
441
+ }
442
+ \`\` \`
443
443
`
444
444
}
445
445
],
@@ -482,8 +482,8 @@ An example config to go along with the Custom Component
482
482
483
483
484
484
485
- \\\`\\\`\\ \` tsx
486
- { \\\` import { useForm } from "payload/components/forms";
485
+ \`\` \` tsx
486
+ import { useForm } from "payload/components/forms";
487
487
488
488
export const CustomArrayManager = () => {
489
489
const { removeFieldRow } = useForm()
@@ -501,13 +501,13 @@ export const CustomArrayManager = () => {
501
501
Remove Row
502
502
</button>
503
503
)
504
- }\\\` }
505
- \\\`\\\`\\ \`
504
+ }
505
+ \`\` \`
506
506
507
507
An example config to go along with the Custom Component
508
508
509
- \\\`\\\`\\ \` tsx
510
- { \\\` const ExampleCollection = {
509
+ \`\` \` tsx
510
+ const ExampleCollection = {
511
511
slug: "example-collection",
512
512
fields: [
513
513
{
@@ -530,8 +530,8 @@ An example config to go along with the Custom Component
530
530
},
531
531
},
532
532
],
533
- }\\\` }
534
- \\\`\\\`\\ \`
533
+ }
534
+ \`\` \`
535
535
`
536
536
}
537
537
],
@@ -583,8 +583,8 @@ An example config to go along with the Custom Component
583
583
584
584
585
585
586
- \\\`\\\`\\ \` tsx
587
- { \\\` import { useForm } from "payload/components/forms";
586
+ \`\` \` tsx
587
+ import { useForm } from "payload/components/forms";
588
588
589
589
export const CustomArrayManager = () => {
590
590
const { replaceFieldRow } = useForm()
@@ -607,13 +607,13 @@ export const CustomArrayManager = () => {
607
607
Replace Row
608
608
</button>
609
609
)
610
- }\\\` }
611
- \\\`\\\`\\ \`
610
+ }
611
+ \`\` \`
612
612
613
613
An example config to go along with the Custom Component
614
614
615
- \\\`\\\`\\ \` tsx
616
- { \\\` const ExampleCollection = {
615
+ \`\` \` tsx
616
+ const ExampleCollection = {
617
617
slug: "example-collection",
618
618
fields: [
619
619
{
@@ -636,9 +636,9 @@ An example config to go along with the Custom Component
636
636
},
637
637
},
638
638
],
639
- }\\\` }
640
- \\\`\\\`\\ \`
641
- `
639
+ }
640
+ \`\` \`
641
+ `
642
642
}
643
643
],
644
644
]}
0 commit comments