Include feedContext in DOM as data- (#4206)

zio/stable
dan 2024-05-24 01:25:11 +01:00 committed by GitHub
parent f7ee532a85
commit fa039e542d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -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 && (

View File

@ -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