import * as React from "react"; import { Form } from "react-bootstrap"; import { FieldRadioProps } from "../types"; export const FieldRadio = ({ options, inline = true, name, label, showLabel }: FieldRadioProps) => { return ( {label} {Array.isArray(options) ? options.map((o, i) => { const radioLabel = o.label; const disabled = o.disabled; return ( ); }) : null} ); };