From 000397b26825bed9210420e0ed0faedc99341217 Mon Sep 17 00:00:00 2001 From: Robert Hasselle Date: Tue, 19 Nov 2024 15:51:42 -0600 Subject: [PATCH] update types --- src/platform/forms-system/src/js/types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/forms-system/src/js/types.js b/src/platform/forms-system/src/js/types.js index b4ed083215ca..9641bc8738cf 100644 --- a/src/platform/forms-system/src/js/types.js +++ b/src/platform/forms-system/src/js/types.js @@ -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