import React from "react"; import { Button } from "../Button"; import { View } from "../View"; import styles from "./styles"; type Props = { onChange?: (value: string) => void; options: { label?: string; value: string }[]; value?: string; }; const Radio = ({ onChange, options, value }: Props) => { return ( {options.map((option) => { const isSelected = value === option.value; return (