Skip to content

Commit

Permalink
chore: apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
pac-guerreiro committed Nov 14, 2024
1 parent 8bc86fe commit 2898d69
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TagPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
7 changes: 7 additions & 0 deletions src/pages/Debug/ConstantPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
5 changes: 5 additions & 0 deletions src/pages/Debug/DebugTagPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down
1 change: 1 addition & 0 deletions src/pages/Debug/Transaction/DebugTransactionViolations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 2898d69

Please sign in to comment.