InformationPanel
Props
title必須
stringnumberfalsetrueReactElement<any, string | JSXElementConstructor<any>>Iterable<ReactNode>ReactPortal
パネルのタイトル
titleTag非推奨
"span""h1""h2""h3""h4""h5""h6""legend"
@deprecated titleTagは非推奨です
type
"error""warning""info""success""sync"
表示する情報のタイプ
togglable
falsetrue
true
のとき、開閉ボタンを表示する
active
falsetrue
パネルの開閉の状態
className
string
コンポーネントに適用するクラス名
children必須
stringnumberfalsetrueReactElement<any, string | JSXElementConstructor<any>>Iterable<ReactNode>ReactPortal
パネル内に表示する内容
onClickTrigger
(active: boolean) => void
開閉ボタン押下時に発火するコールバック関数
decorators
DecoratorsType<"openButtonLabel" | "closeButtonLabel">
コンポーネント内の文言を変更するための関数を設定