import React from "react"; import { View, StyleProp, TextStyle, ViewStyle } from "react-native"; import Text from "../components/Text"; import { withTheme } from "@draftbit/theme"; import RadioButtonGroup, { RadioButtonGroupProps, } from "../components/RadioButton/RadioButtonGroup"; interface Props extends RadioButtonGroupProps { label?: string; labelStyle?: StyleProp; style?: StyleProp; } /** * @deprecated DEPRECATED */ const RadioButtonFieldGroup: React.FC> = ({ label, children, theme, labelStyle, style, ...rest }) => { return ( {label} {children} ); }; export default withTheme(RadioButtonFieldGroup);