FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/ant-design / Description

Function: Description()

Description<T>(__namedParameters): Element

Description component

  • Based on Ant Design Descriptions.

Type Parameters

T

T extends Record<string, any> = any

Parameters

__namedParameters

DescriptionProps<T>

Returns

Element

Example

import { Description } from '@faasjs/ant-design'

<Description
  title="Title"
  items={[
    {
      id: 'id',
      title: 'Title',
      type: 'string',
    },
  ]}
  dataSource={{ id: 'value' }}
/>