Skip to content

Commit 8687c5c

Browse files
committed
Add arrowRight on option that contain sub menu items
1 parent 4d73ec6 commit 8687c5c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/MoneyReportHeader.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ function MoneyReportHeader({
778778

779779
const secondaryActionsImplementation: Record<
780780
ValueOf<typeof CONST.REPORT.SECONDARY_ACTIONS>,
781-
DropdownOption<ValueOf<typeof CONST.REPORT.SECONDARY_ACTIONS>> & Pick<PopoverMenuItem, 'backButtonText'>
781+
DropdownOption<ValueOf<typeof CONST.REPORT.SECONDARY_ACTIONS>> & Pick<PopoverMenuItem, 'backButtonText' | 'rightIcon'>
782782
> = {
783783
[CONST.REPORT.SECONDARY_ACTIONS.VIEW_DETAILS]: {
784784
value: CONST.REPORT.SECONDARY_ACTIONS.VIEW_DETAILS,
@@ -793,6 +793,7 @@ function MoneyReportHeader({
793793
text: translate('common.export'),
794794
backButtonText: translate('common.export'),
795795
icon: Expensicons.Export,
796+
rightIcon: Expensicons.ArrowRight,
796797
subMenuItems: secondaryExportActions.map((action) => exportSubmenuOptions[action as string]),
797798
},
798799
[CONST.REPORT.SECONDARY_ACTIONS.DOWNLOAD_PDF]: {
@@ -938,6 +939,7 @@ function MoneyReportHeader({
938939
text: translate('iou.addExpense'),
939940
backButtonText: translate('iou.addExpense'),
940941
icon: Expensicons.Plus,
942+
rightIcon: Expensicons.ArrowRight,
941943
value: CONST.REPORT.SECONDARY_ACTIONS.ADD_EXPENSE,
942944
subMenuItems: addExpenseDropdownOptions,
943945
onSelected: () => {

0 commit comments

Comments
 (0)