File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/SelectionList/Search Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ type FirstRowReportHeaderProps<TItem extends ListItem> = {
63
63
handleOnButtonPress ?: ( ) => void ;
64
64
65
65
/** Whether the action button should be displayed */
66
- showAction ?: boolean ;
66
+ shouldShowAction ?: boolean ;
67
67
} ;
68
68
69
69
type ReportCellProps = {
@@ -98,7 +98,7 @@ function FirstHeaderRow<TItem extends ListItem>({
98
98
isDisabled,
99
99
canSelectMultiple,
100
100
handleOnButtonPress = ( ) => { } ,
101
- showAction = false ,
101
+ shouldShowAction = false ,
102
102
} : FirstRowReportHeaderProps < TItem > ) {
103
103
const styles = useThemeStyles ( ) ;
104
104
const StyleUtils = useStyleUtils ( ) ;
@@ -134,7 +134,7 @@ function FirstHeaderRow<TItem extends ListItem>({
134
134
reportItem = { reportItem }
135
135
/>
136
136
</ View >
137
- { showAction && (
137
+ { shouldShowAction && (
138
138
< View style = { [ StyleUtils . getReportTableColumnStyles ( CONST . SEARCH . TABLE_COLUMNS . ACTION ) ] } >
139
139
< ActionCell
140
140
action = { reportItem . action }
@@ -210,7 +210,7 @@ function ReportListItemHeader<TItem extends ListItem>({
210
210
onCheckboxPress = { onCheckboxPress }
211
211
isDisabled = { isDisabled }
212
212
canSelectMultiple = { canSelectMultiple }
213
- showAction
213
+ shouldShowAction
214
214
handleOnButtonPress = { handleOnButtonPress }
215
215
/>
216
216
< View style = { [ styles . mr3 , styles . ml3 , styles . pv2 ] } >
You can’t perform that action at this time.
0 commit comments