import { View, ViewStyle } from "react-native"; import { SelectButtonType } from "../../../App/common/constants"; import { styles } from "./SelectButtonStyles"; interface SelectButtonProps { selected?: boolean; type?: string; buttonStyle?: ViewStyle; } const RadioButton = ({ selected, buttonStyle }: SelectButtonProps) => { return ( {selected && } ); }; const SelectButton = ({ selected, type, buttonStyle }: SelectButtonProps) => { switch (type) { case SelectButtonType.RADIO: return ; default: return ; } }; export default SelectButton;