@iimm/formily-taro-vantui
Version:
form field components based on @antmjs/vantui and @formily/react
16 lines (15 loc) • 753 B
TypeScript
import { type ViewProps } from "@tarojs/components";
import { type CellGroupProps, type CellProps, type RadioGroupProps, type RadioProps } from "@antmjs/vantui";
import type { CommonFieldProps, CommonOptionItem } from "../../types";
interface OptionItem extends CommonOptionItem {
disabled?: boolean;
}
export interface RadioGroupBaseProps extends Omit<RadioProps, "value" | "onChange" | "children">, CommonFieldProps<any, OptionItem[]> {
direction?: RadioGroupProps["direction"];
withCellGroup?: boolean;
cellGroupProps?: CellGroupProps;
cellProps?: CellProps;
radioGroupProps?: ViewProps;
}
export declare const RadioGroupBase: (props: RadioGroupBaseProps) => import("react/jsx-runtime").JSX.Element;
export {};