Skip to content

Commit 280294e

Browse files
Update how-to-create-a-custom-parameter-editor.md (#1797)
1 parent 3a55b90 commit 280294e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

embedding-reports/display-reports-in-applications/web-application/react-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ let viewer;
8787
report: 'MyReport.trdp',
8888
parameters: {}
8989
}}
90-
parameterEditors={{
91-
match: match,
92-
createEditor: createEditor
93-
}} />
90+
parameterEditors={[
91+
{
92+
match: match,
93+
createEditor: createEditor
94+
}
95+
]} />
9496
9597
</div>) : null;
9698
}

0 commit comments

Comments
 (0)