diff --git a/src/components/TagPicker/index.tsx b/src/components/TagPicker/index.tsx index a3df5e9a2e72..0368f15a9752 100644 --- a/src/components/TagPicker/index.tsx +++ b/src/components/TagPicker/index.tsx @@ -31,6 +31,7 @@ type TagPickerProps = { /** Should show the selected option that is disabled? */ shouldShowDisabledAndSelectedOption?: boolean; + /** Whether the list should be sorted by tag name. default is false */ shouldOrderListByTagName?: boolean; /** Indicates which tag list index was selected */ diff --git a/src/pages/Debug/ConstantPicker.tsx b/src/pages/Debug/ConstantPicker.tsx index 5287f54f7f22..564b2ea3d710 100644 --- a/src/pages/Debug/ConstantPicker.tsx +++ b/src/pages/Debug/ConstantPicker.tsx @@ -9,8 +9,15 @@ import {DETAILS_CONSTANT_FIELDS} from './const'; type ConstantPickerProps = { formType: string; + /** The form to object the constant list of options */ + + /** Constant name to get list of options */ fieldName: string; + + /** Current selected constant */ fieldValue?: string; + + /** Callback to submit the selected constant */ onSubmit: (item: ListItem) => void; }; diff --git a/src/pages/Debug/DebugTagPicker.tsx b/src/pages/Debug/DebugTagPicker.tsx index c561528dc295..1aa24d359a3a 100644 --- a/src/pages/Debug/DebugTagPicker.tsx +++ b/src/pages/Debug/DebugTagPicker.tsx @@ -13,8 +13,13 @@ import * as TransactionUtils from '@libs/TransactionUtils'; import ONYXKEYS from '@src/ONYXKEYS'; type DebugTagPickerProps = { + /** The policyID we are getting tags for */ policyID: string; + + /** Current tag name */ tagName?: string; + + /** Callback to submit the selected tag */ onSubmit: (item: ListItem) => void; }; diff --git a/src/pages/Debug/Transaction/DebugTransactionViolations.tsx b/src/pages/Debug/Transaction/DebugTransactionViolations.tsx index 8c869b59383c..d3e37f726a96 100644 --- a/src/pages/Debug/Transaction/DebugTransactionViolations.tsx +++ b/src/pages/Debug/Transaction/DebugTransactionViolations.tsx @@ -14,6 +14,7 @@ import ROUTES from '@src/ROUTES'; import type {TransactionViolation} from '@src/types/onyx'; type DebugTransactionViolationsProps = { + /** The transactionID we are gettings the transaction violations for */ transactionID: string; };