Skip to content

Commit

Permalink
Merge pull request #35216 from Expensify/jack-fixTSErrorOnLayout
Browse files Browse the repository at this point in the history
[No QA] Fix onLayout type error on main
  • Loading branch information
thienlnam authored Jan 26, 2024
2 parents 0d2f01c + 4daa50c commit f6d2f61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/LHNOptionsList/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ type OptionRowLHNDataProps = {

/** A function that is called when an option is selected. Selected option is passed as a param */
onSelectRow?: (optionItem: OptionData, popoverAnchor: RefObject<View>) => void;

/** Callback to execute when the OptionList lays out */
onLayout?: (event: LayoutChangeEvent) => void;
};

type OptionRowLHNProps = {
Expand Down

0 comments on commit f6d2f61

Please sign in to comment.