AccordionPanel

処理中
ドラッグして幅を変更
ドラッグして高さを変更
処理中

Props

AccordionPanel props

iconPosition
"left""right"

アイコンの左右位置

displayIcon
falsetrue

アイコンを表示するかどうか

expandableMultiply
falsetrue

複数のパネルを同時に開くことを許容するかどうか

defaultExpanded
string[]

デフォルトで開いた状態にするアイテムの name の配列

onClick
(expandedItems: string[]) => void

トリガのクリックイベントを処理するハンドラ

AccordionPanelItem props

name必須
string

アイテムを識別するための名前

AccordionPanelTrigger props

headingType
"screenTitle""sectionTitle""blockTitle""subBlockTitle""subSubBlockTitle"

ヘッダ部分のテキストのスタイル

headingTag非推奨
"h1""h2""h3""h4""h5""h6"

@deprecated headingTag属性は非推奨です