Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
rhasselle-oddball committed Nov 19, 2024
1 parent 89b409d commit 000397b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/forms-system/src/js/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
* @property {({formData, formContext, router, setFormData}) => JSX.Element} [ContentBeforeButtons] React element that appears after the form but before save in progress and the navigation buttons
* @property {(props: any) => JSX.Element} [CustomPage]
* @property {(props: any) => JSX.Element} [CustomPageReview]
* @property {((formData: Object) => boolean, index: boolean) | {}} [depends] optional condition when page should be shown or not. Index provided for arrays.
* @property {((formData: Object) => boolean, index: number) | {}} [depends] optional condition when page should be shown or not. Index provided for arrays.
* @property {Object} [initialData]
* @property {boolean} [customPageUsesPagePerItemData] Used with `CustomPage` and arrays. If true, will treat `data` (`formData`) and `setFormData` at the array level instead of the entire `formData` level, which matches how default pages work.
* @property {boolean} [hideNavButtons] Used to hide the 'Continue' and 'Back' buttons
Expand Down

0 comments on commit 000397b

Please sign in to comment.