UNPKG

@iimm/formily-taro-vantui

Version:

form field components based on @antmjs/vantui and @formily/react

17 lines (16 loc) 854 B
import { type ViewProps } from "@tarojs/components"; import { type CheckboxGroupProps, type CellProps, type CellGroupProps, type CheckboxProps } from "@antmjs/vantui"; import type { CommonFieldProps, CommonOptionItem } from "../../types"; interface OptionItem extends CommonOptionItem { disabled?: boolean; } export interface CheckboxGroupBaseProps extends Omit<CheckboxProps, "value" | "onChange" | "children">, CommonFieldProps<any[], OptionItem[]>, Omit<CheckboxProps, "value" | "onChange" | "children"> { max?: number; direction?: CheckboxGroupProps["direction"]; withCellGroup?: boolean; cellGroupProps?: CellGroupProps; cellProps?: CellProps; CheckboxGroupProps?: ViewProps; } export declare const CheckboxGroupBase: (props: CheckboxGroupBaseProps) => import("react/jsx-runtime").JSX.Element; export {};