import * as React from "react"; import { withTheme } from "@draftbit/theme"; import type { ReadTheme } from "@draftbit/theme"; import type { IconSlot } from "../interfaces/Icon"; import Row from "../components/Row"; import Config from "../components/Config"; import { ImageSourcePropType, StyleProp, ViewStyle } from "react-native"; type Props = { title?: string; image: string | ImageSourcePropType; subtitle?: string; multilineSubtitle?: boolean; icon: string; style?: StyleProp; theme: ReadTheme; } & IconSlot; /** * @deprecated DEPRECATED */ const RowHeadlineImageIcon: React.FC> = ({ Icon, icon, title, image, subtitle, multilineSubtitle = false, style, theme: { colors, typography }, }) => { return ( ( )} style={style} /> ); }; export default withTheme(RowHeadlineImageIcon);