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 { StyleProp, ViewStyle } from "react-native"; type Props = { title?: string; subtitle?: string; icon: string; style?: StyleProp; theme: ReadTheme; } & IconSlot; /** * @deprecated DEPRECATED */ const RowBodyIcon: React.FC> = ({ Icon, title, subtitle, icon, style, theme: { colors, typography }, }) => { return ( ( )} style={style} /> ); }; export default withTheme(RowBodyIcon);