Documents / @faasjs/ant-design / DescriptionWithoutFaasProps
Interface: DescriptionWithoutFaasProps<T, ExtendItemProps>
Props for the Description component when rendering a local data source.
Extends
DescriptionCommonProps<T,ExtendItemProps>
Type Parameters
T
T = any
Data record shape rendered by the description list.
ExtendItemProps
ExtendItemProps = any
Additional item prop shape accepted by items.
Methods
renderTitle()?
optionalrenderTitle(this,values):ReactNode
Callback that returns a custom React node for the title.
Parameters
this
void
values
T
Returns
ReactNode
Inherited from
DescriptionCommonProps.renderTitle
Properties
dataSource?
optionaldataSource?:T
Local data source rendered by the description list.
extendTypes?
optionalextendTypes?:object
Custom type renderers keyed by item type.
Index Signature
[key: string]: ExtendDescriptionTypeProps<any>
Inherited from
DescriptionCommonProps.extendTypes
faasData?
optionalfaasData?:undefined
Must not be set when using a local dataSource.
items
items: (
DescriptionItemProps<any> |ExtendItemProps)[]
Item metadata definitions rendered as description entries.