mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
1 line
6.4 KiB
JavaScript
1 line
6.4 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["ebfa44db"],{ebfa44db:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"texts",{enumerable:!0,get:function(){return d;}}),t("661321f7");let d=[{value:"Commonly displayed on the details page.",paraId:0,tocIndex:0},{value:"// works when >= 5.8.0, recommended \u2705\n\nconst items: DescriptionsProps['items'] = [\n {\n key: '1',\n label: 'UserName',\n children: <p>Zhou Maomao</p>,\n },\n {\n key: '2',\n label: 'Telephone',\n children: <p>1810000000</p>,\n },\n {\n key: '3',\n label: 'Live',\n children: <p>Hangzhou, Zhejiang</p>,\n },\n {\n key: '4',\n label: 'Remark',\n children: <p>empty</p>,\n },\n {\n key: '5',\n label: 'Address',\n children: <p>No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China</p>,\n },\n];\n\n<Descriptions title=\"User Info\" items={items} />;\n\n// works when <5.8.0 , deprecated when >=5.8.0 \u{1F645}\u{1F3FB}\u200D\u2640\uFE0F\n\n<Descriptions title=\"User Info\">\n <Descriptions.Item label=\"UserName\">Zhou Maomao</Descriptions.Item>\n <Descriptions.Item label=\"Telephone\">1810000000</Descriptions.Item>\n <Descriptions.Item label=\"Live\">Hangzhou, Zhejiang</Descriptions.Item>\n <Descriptions.Item label=\"Remark\">empty</Descriptions.Item>\n <Descriptions.Item label=\"Address\">\n No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China\n </Descriptions.Item>\n</Descriptions>;\n",paraId:1,tocIndex:0},{value:"Common props ref\uFF1A",paraId:2,tocIndex:14},{value:"Common props",paraId:3,tocIndex:14},{value:"Property",paraId:4,tocIndex:15},{value:"Description",paraId:4,tocIndex:15},{value:"Type",paraId:4,tocIndex:15},{value:"Default",paraId:4,tocIndex:15},{value:"Version",paraId:4,tocIndex:15},{value:"bordered",paraId:4,tocIndex:15},{value:"Whether to display the border",paraId:4,tocIndex:15},{value:"boolean",paraId:4,tocIndex:15},{value:"false",paraId:4,tocIndex:15},{value:"colon",paraId:4,tocIndex:15},{value:"Change default props ",paraId:4,tocIndex:15},{value:"colon",paraId:4,tocIndex:15},{value:" value of Descriptions.Item. Indicates whether the colon after the label is displayed",paraId:4,tocIndex:15},{value:"boolean",paraId:4,tocIndex:15},{value:"true",paraId:4,tocIndex:15},{value:"column",paraId:4,tocIndex:15},{value:"The number of ",paraId:4,tocIndex:15},{value:"DescriptionItems",paraId:4,tocIndex:15},{value:" in a row,could be a number or a object like ",paraId:4,tocIndex:15},{value:"{ xs: 8, sm: 16, md: 24}",paraId:4,tocIndex:15},{value:",(Only set ",paraId:4,tocIndex:15},{value:"bordered={true}",paraId:4,tocIndex:15},{value:" to take effect)",paraId:4,tocIndex:15},{value:"number | ",paraId:4,tocIndex:15},{value:"Record<Breakpoint, number>",paraId:4,tocIndex:15},{value:"3",paraId:4,tocIndex:15},{value:"contentStyle",paraId:4,tocIndex:15},{value:"Customize content style",paraId:4,tocIndex:15},{value:"CSSProperties",paraId:4,tocIndex:15},{value:"-",paraId:4,tocIndex:15},{value:"4.10.0",paraId:4,tocIndex:15},{value:"extra",paraId:4,tocIndex:15},{value:"The action area of the description list, placed at the top-right",paraId:4,tocIndex:15},{value:"ReactNode",paraId:4,tocIndex:15},{value:"-",paraId:4,tocIndex:15},{value:"4.5.0",paraId:4,tocIndex:15},{value:"items",paraId:4,tocIndex:15},{value:"Describe the contents of the list item",paraId:4,tocIndex:15},{value:"DescriptionsItem",paraId:5,tocIndex:15},{value:"[]",paraId:4,tocIndex:15},{value:"-",paraId:4,tocIndex:15},{value:"5.8.0",paraId:4,tocIndex:15},{value:"labelStyle",paraId:4,tocIndex:15},{value:"Customize label style",paraId:4,tocIndex:15},{value:"CSSProperties",paraId:4,tocIndex:15},{value:"-",paraId:4,tocIndex:15},{value:"4.10.0",paraId:4,tocIndex:15},{value:"layout",paraId:4,tocIndex:15},{value:"Define description layout",paraId:4,tocIndex:15},{value:"horizontal",paraId:4,tocIndex:15},{value:" | ",paraId:4,tocIndex:15},{value:"vertical",paraId:4,tocIndex:15},{value:"horizontal",paraId:4,tocIndex:15},{value:"size",paraId:4,tocIndex:15},{value:"Set the size of the list. Can be set to ",paraId:4,tocIndex:15},{value:"middle",paraId:4,tocIndex:15},{value:",",paraId:4,tocIndex:15},{value:"small",paraId:4,tocIndex:15},{value:", or not filled",paraId:4,tocIndex:15},{value:"default",paraId:4,tocIndex:15},{value:" | ",paraId:4,tocIndex:15},{value:"middle",paraId:4,tocIndex:15},{value:" | ",paraId:4,tocIndex:15},{value:"small",paraId:4,tocIndex:15},{value:"-",paraId:4,tocIndex:15},{value:"title",paraId:4,tocIndex:15},{value:"The title of the description list, placed at the top",paraId:4,tocIndex:15},{value:"ReactNode",paraId:4,tocIndex:15},{value:"-",paraId:4,tocIndex:15},{value:"Property",paraId:6,tocIndex:16},{value:"Description",paraId:6,tocIndex:16},{value:"Type",paraId:6,tocIndex:16},{value:"Default",paraId:6,tocIndex:16},{value:"Version",paraId:6,tocIndex:16},{value:"contentStyle",paraId:6,tocIndex:16},{value:"Customize content style",paraId:6,tocIndex:16},{value:"CSSProperties",paraId:6,tocIndex:16},{value:"-",paraId:6,tocIndex:16},{value:"4.9.0",paraId:6,tocIndex:16},{value:"label",paraId:6,tocIndex:16},{value:"The description of the content",paraId:6,tocIndex:16},{value:"ReactNode",paraId:6,tocIndex:16},{value:"-",paraId:6,tocIndex:16},{value:"labelStyle",paraId:6,tocIndex:16},{value:"Customize label style",paraId:6,tocIndex:16},{value:"CSSProperties",paraId:6,tocIndex:16},{value:"-",paraId:6,tocIndex:16},{value:"4.9.0",paraId:6,tocIndex:16},{value:"span",paraId:6,tocIndex:16},{value:"The number of columns included(",paraId:6,tocIndex:16},{value:"filled",paraId:6,tocIndex:16},{value:" Fill the remaining part of the current row)",paraId:6,tocIndex:16},{value:"number | ",paraId:6,tocIndex:16},{value:"filled",paraId:6,tocIndex:16},{value:" | ",paraId:6,tocIndex:16},{value:"Screens",paraId:7,tocIndex:16},{value:"1",paraId:6,tocIndex:16},{value:"screens: 5.9.0",paraId:6,tocIndex:16},{value:", ",paraId:6,tocIndex:16},{value:"filled: 5.22.0",paraId:6,tocIndex:16},{value:"The number of span Description.Item. Span={2} takes up the width of two DescriptionItems. When both ",paraId:8,tocIndex:16},{value:"style",paraId:8,tocIndex:16},{value:" and ",paraId:8,tocIndex:16},{value:"labelStyle",paraId:8,tocIndex:16},{value:"(or ",paraId:8,tocIndex:16},{value:"contentStyle",paraId:8,tocIndex:16},{value:") configured, both of them will work. And next one will overwrite first when conflict.",paraId:8,tocIndex:16}];}}]); |