DefinitionList
- SmartHR UI v21.4.5
- Storybook
- ソースコード(GitHub)
Props
DefinitionList props
Name | Required | Type | Description |
---|---|---|---|
items | true | DefinitionListItemProps[] | 定義リストのアイテムの配列 |
layout | - | "single" ,
"double" ,
"triple" | 列のレイアウト |
className | - | string | コンポーネントに適用するクラス名 |
DefinitionListItem props
Name | Required | Type | Description |
---|---|---|---|
term | true | string ,
number ,
false ,
true ,
{} ,
ReactElement<any, string | JSXElementConstructor<any>> ,
Iterable<ReactNode> ,
ReactPortal | |
description | true | string ,
number ,
false ,
true ,
{} ,
ReactElement<any, string | JSXElementConstructor<any>> ,
Iterable<ReactNode> ,
ReactPortal | |
termTag | - | "h1" ,
"h2" ,
"h3" ,
"h4" ,
"h5" ,
"h6" ,
"legend" ,
"span" | |
className | - | string |