import * as React from "react"; import { Text, ImageSourcePropType, StyleProp, ViewStyle } from "react-native"; import { withTheme } from "@draftbit/theme"; import Row from "../components/Row"; import type { ReadTheme } from "@draftbit/theme"; type Props = { title?: string; subtitle?: string; caption?: string; image: string | ImageSourcePropType; style?: StyleProp; theme: ReadTheme; }; /** * @deprecated DEPRECATED */ const RowHeadlineImageCaption: React.FC> = ({ title, subtitle, caption, image, style, theme: { colors, typography }, }) => { return ( ( {caption} )} style={style} /> ); }; export default withTheme(RowHeadlineImageCaption);