Skip to content

Commit

Permalink
update prop description
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwen committed Dec 24, 2024
1 parent 5004df1 commit 1954471
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Composer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type ComposerProps = Omit<TextInputProps, 'onClear'> & {
/** Indicates whether the composer is in a group policy report. Used for disabling report mentioning style in markdown input */
isGroupPolicyReport?: boolean;

/** Whether the soft keyboard is open */
/** Whether to show the keyboard on focus */
showSoftInputOnFocus?: boolean;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ type ComposerWithSuggestionsProps = Partial<ChildrenProps> & {
/** policy ID of the report */
policyID?: string;

/** Whether the soft keyboard is open */
/** Whether to show the keyboard on focus */
showSoftInputOnFocus: boolean;

/** A method to update showSoftInputOnFocus */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type ReportActionComposeProps = Pick<ComposerWithSuggestionsProps, 'reportID' |
/** Should show educational tooltip */
shouldShowEducationalTooltip?: boolean;

/** Whether the soft keyboard is open */
/** Whether to show the keyboard on focus */
showSoftInputOnFocus: boolean;

/** A method to update showSoftInputOnFocus */
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type ReportFooterProps = {
/** A method to call when the input is blur */
onComposerBlur: () => void;

/** Whether the soft keyboard is open */
/** Whether to show the keyboard on focus */
showSoftInputOnFocus: boolean;

/** A method to update showSoftInputOnFocus */
Expand Down

0 comments on commit 1954471

Please sign in to comment.