import React, {
InputHTMLAttributes,
PropsWithChildren,
forwardRef,
} from "react";
import classNames from "classnames";
import { Field, FieldProps } from ":/components/Forms/Field";
export type RadioProps = InputHTMLAttributes &
FieldProps & {
label?: string;
};
export const Radio = forwardRef(
({ label, text, textItems, state, ...props }: RadioProps, ref) => {
return (
);
},
);
export const RadioGroup = ({
children,
state,
text,
textItems,
rightText,
style,
}: PropsWithChildren & FieldProps & { style?: React.CSSProperties }) => {
return (
{children}
);
};