z-react-dynamic-form
Version:
A dynamic form builder for React applications with various input types and validation
19 lines (18 loc) • 455 B
TypeScript
import React from "react";
interface RadioOption {
label: string;
value: string | number;
disabled?: boolean;
}
type RadioControllerProps = {
name: string;
label?: string;
options: RadioOption[];
required?: boolean;
disabled?: boolean;
helperText?: string;
layout?: "horizontal" | "vertical";
[key: string]: any;
};
declare const RadioController: React.FC<RadioControllerProps>;
export default RadioController;