FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

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

  • DescriptionWithFaasProps
  • DescriptionWithoutFaasProps

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()?

optional renderTitle(this, values): ReactNode

Callback that returns a custom React node for the title.

Parameters

this

void

values

T

Returns

ReactNode

Properties

extendTypes?

optional extendTypes?: 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.