Include feedContext in DOM as data- (#4206)
parent
f7ee532a85
commit
fa039e542d
|
@ -196,7 +196,8 @@ let FeedItemInner = ({
|
|||
href={href}
|
||||
noFeedback
|
||||
accessible={false}
|
||||
onBeforePress={onBeforePress}>
|
||||
onBeforePress={onBeforePress}
|
||||
dataSet={{feedContext}}>
|
||||
<View style={{flexDirection: 'row', gap: 10, paddingLeft: 8}}>
|
||||
<View style={{width: 52}}>
|
||||
{isThreadChild && (
|
||||
|
|
|
@ -45,6 +45,7 @@ interface Props extends ComponentProps<typeof TouchableOpacity> {
|
|||
hoverStyle?: StyleProp<ViewStyle>
|
||||
noFeedback?: boolean
|
||||
asAnchor?: boolean
|
||||
dataSet?: Object | undefined
|
||||
anchorNoUnderline?: boolean
|
||||
navigationAction?: 'push' | 'replace' | 'navigate'
|
||||
onPointerEnter?: () => void
|
||||
|
|
Loading…
Reference in New Issue