UNPKG

@alifd/next

Version:

A configurable component library for web built on React.

9 lines (8 loc) 381 B
import type { ItemProps, FormRule } from './types'; export declare function getRules(props: ItemProps, labelForErrorMessage: string | null): FormRule[]; export declare function getFieldInitCfg(props: ItemProps, displayName: string, labelForErrorMessage: string | null): { valueName: string; trigger: string; autoValidate: boolean | undefined; rules: FormRule[]; };