Skip to content

Commit 3693ab3

Browse files
committed
fix naming
1 parent 6f220d6 commit 3693ab3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/SelectionList/Search/ReportListItemHeader.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type FirstRowReportHeaderProps<TItem extends ListItem> = {
6363
handleOnButtonPress?: () => void;
6464

6565
/** Whether the action button should be displayed */
66-
showAction?: boolean;
66+
shouldShowAction?: boolean;
6767
};
6868

6969
type ReportCellProps = {
@@ -98,7 +98,7 @@ function FirstHeaderRow<TItem extends ListItem>({
9898
isDisabled,
9999
canSelectMultiple,
100100
handleOnButtonPress = () => {},
101-
showAction = false,
101+
shouldShowAction = false,
102102
}: FirstRowReportHeaderProps<TItem>) {
103103
const styles = useThemeStyles();
104104
const StyleUtils = useStyleUtils();
@@ -134,7 +134,7 @@ function FirstHeaderRow<TItem extends ListItem>({
134134
reportItem={reportItem}
135135
/>
136136
</View>
137-
{showAction && (
137+
{shouldShowAction && (
138138
<View style={[StyleUtils.getReportTableColumnStyles(CONST.SEARCH.TABLE_COLUMNS.ACTION)]}>
139139
<ActionCell
140140
action={reportItem.action}
@@ -210,7 +210,7 @@ function ReportListItemHeader<TItem extends ListItem>({
210210
onCheckboxPress={onCheckboxPress}
211211
isDisabled={isDisabled}
212212
canSelectMultiple={canSelectMultiple}
213-
showAction
213+
shouldShowAction
214214
handleOnButtonPress={handleOnButtonPress}
215215
/>
216216
<View style={[styles.mr3, styles.ml3, styles.pv2]}>

0 commit comments

Comments
 (0)