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 / DescriptionItemProps

Interface: DescriptionItemProps<T>

Description item meta-object consumed by the Description component.

Extends

  • FaasItemProps

Extended by

  • UnionFaasItemProps

Type Parameters

T

T = any

Data record shape rendered by the description list.

Properties

children?

optional children?: UnionFaasItemElement<T> | null

Generic custom element rendered when no description-specific child overrides it.

descriptionChildren?

optional descriptionChildren?: UnionFaasItemElement<T> | null

Description-specific custom element.

descriptionRender?

optional descriptionRender?: UnionFaasItemRender<T> | null

Description-specific custom render callback.

id

id: string | number

Inherited from

FaasItemProps.id

if?

optional if?: (values) => boolean

Conditional visibility predicate. When false, the item is hidden from the description list.

Parameters

values

Record<string, any>

Returns

boolean

object?

optional object?: DescriptionItemProps<T>[]

Nested item definitions used by object and object[] item types.

options?

optional options?: BaseOption[]

Inherited from

FaasItemProps.options

render?

optional render?: UnionFaasItemRender<T> | null

Generic custom render callback.

title?

optional title?: string

Inherited from

FaasItemProps.title

type?

optional type?: FaasItemType

Inherited from

FaasItemProps.type