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