Documents / @faasjs/ant-design / UnionFaasItemProps
Interface: UnionFaasItemProps<Value, Values>
Extends
Type Parameters
• Value = any
• Values = any
Properties
children?
optional
children:ReactElement
<UnionFaasItemInjection
<UnionFaasItemProps
<Value
,Values
>,any
>,string
|JSXElementConstructor
<any
>>
Overrides
col?
optional
col:number
Inherited from
descriptionChildren?
optional
descriptionChildren:UnionFaasItemElement
<any
>
Inherited from
DescriptionItemProps
.descriptionChildren
descriptionRender?
optional
descriptionRender:UnionFaasItemRender
<any
>
Inherited from
DescriptionItemProps
.descriptionRender
disabled?
optional
disabled:boolean
Inherited from
extendTypes?
optional
extendTypes:ExtendTypes
Inherited from
formChildren?
optional
formChildren:UnionFaasItemElement
<any
>
Inherited from
formRender?
optional
formRender:UnionFaasItemRender
<any
>
Inherited from
id
id:
string
Inherited from
if()?
optional
if: (values
) =>boolean
trigger when any item's value changed
Parameters
• values: Record
<string
, any
>
Returns
boolean
Inherited from
input?
optional
input:SelectProps
<any
,DefaultOptionType
> |InputProps
|RadioProps
|InputNumberProps
<ValueType
> |SwitchProps
|DatePickerProps
Inherited from
label?
optional
label:string
|false
Inherited from
maxCount?
optional
maxCount:number
Inherited from
object?
optional
object:UnionFaasItemProps
<Value
,Values
>[]
Overrides
onValueChange()?
optional
onValueChange: (value
,values
,form
) =>void
trigger when current item's value changed
Parameters
• value: any
• values: any
• form: FormInstance
<any
>
Returns
void
Inherited from
options?
optional
options:BaseOption
[]
Inherited from
optionsType?
optional
optionsType:"auto"
Inherited from
render?
optional
render:UnionFaasItemRender
<any
,any
>
Overrides
required?
optional
required:boolean
Inherited from
rules?
optional
rules:RuleObject
[]
Inherited from
tableChildren?
optional
tableChildren:UnionFaasItemElement
<any
>
Inherited from
tableRender?
optional
tableRender:UnionFaasItemRender
<any
>
Inherited from
title?
optional
title:string
Inherited from
type?
optional
type:FaasItemType
Support string, string[], number, number[], boolean, date, time, object, object[]
Default
'string'