import React from 'react'; import { H3 } from '../../../primitives/Heading'; import { Radio as Input } from '../../../primitives/Input'; import Html from '../../helper/Html'; import { Label } from '../../../primitives/Label'; import SoftWarning from '../../../primitives/SoftWarning'; import { RenderWithData } from '../../../index'; type Props = RenderWithData<"Answer"> & { checked?: boolean, name: string, onChange?: () => void, } export default function RadioInput({ id, value, checked, debug, disabled, heading, image, messages, onChange, text = '', name }: Props) { const message = messages?.[0]; return (
); }