Documents / @faasjs/ant-design / Description
Function: Description()
Description<
T
>(props
):Element
Description component
- Based on Ant Design Descriptions.
Type Parameters
• T extends Record
<string
, any
> = any
Parameters
• props: DescriptionProps
<T
, any
>
Returns
Element
Example
import { Description } from '@faasjs/ant-design'
<Description
title="Title"
items={[
{
id: 'id',
title: 'Title',
type: 'string',
},
]}
dataSource={{ id: 'value' }}
/>