@@ -31,6 +31,9 @@ type TransactionItemRowNarrowProps = Pick<
3131 | 'isInSingleTransactionReport'
3232 | 'shouldShowRadioButton'
3333 | 'onRadioButtonPress'
34+ | 'shouldStopRadioButtonMouseDownPropagation'
35+ | 'radioButtonContainerStyle'
36+ | 'radioButtonWrapperStyle'
3437 | 'shouldShowErrors'
3538 | 'isDisabled'
3639 | 'violations'
@@ -53,6 +56,9 @@ function TransactionItemRowNarrow({
5356 isInSingleTransactionReport = false ,
5457 shouldShowRadioButton = false ,
5558 onRadioButtonPress = ( ) => { } ,
59+ shouldStopRadioButtonMouseDownPropagation = false ,
60+ radioButtonContainerStyle,
61+ radioButtonWrapperStyle,
5662 shouldShowErrors = true ,
5763 isDisabled = false ,
5864 violations,
@@ -153,12 +159,14 @@ function TransactionItemRowNarrow({
153159 </ View >
154160 ) }
155161 { shouldShowRadioButton && (
156- < View style = { [ styles . ml3 , styles . justifyContentCenter ] } >
162+ < View style = { [ styles . ml3 , styles . justifyContentCenter , radioButtonContainerStyle ] } >
157163 < RadioButton
158164 isChecked = { isSelected }
159165 disabled = { isDisabled }
160166 onPress = { ( ) => onRadioButtonPress ?.( transactionItem . transactionID ) }
161167 accessibilityLabel = { CONST . ROLE . RADIO }
168+ shouldStopMouseDownPropagation = { shouldStopRadioButtonMouseDownPropagation }
169+ style = { radioButtonWrapperStyle }
162170 />
163171 </ View >
164172 ) }
0 commit comments