Documents / @faasjs/ant-design / DescriptionCommonProps
Interface: DescriptionCommonProps<T, ExtendItemProps>
Shared props used by both local-data and Faas-data description lists.
Extends
Omit<DescriptionsProps,"items">
Extended by
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
Properties
extendTypes?
optionalextendTypes?:object
Custom type renderers keyed by item type.
Index Signature
[key: string]: ExtendDescriptionTypeProps<any>
items
items: (
ExtendItemProps|DescriptionItemProps<any>)[]
Item metadata definitions rendered as description entries.