Browser
階層構造を持つデータを選択するためのコンポーネントです。カテゴリや組織、フォルダなどのツリー状のデータをドリルダウンで選択するときに使います。
Props
prefix
stringnumberfalsetrueReactElement<any, string | JSXElementConstructor<any>>Iterable<ReactNode>ReactPortal
ボタン内の先頭に表示する内容。 通常は、アイコンを表示するために用いる。
loading
falsetrue
処理が走ってるかどうか
size
"S""M"
ボタンの大きさ
suffix
stringnumberfalsetrueReactElement<any, string | JSXElementConstructor<any>>Iterable<ReactNode>ReactPortal
ボタン内の末尾に表示する内容。 通常は、アイコンを表示するために用いる。
variant
"text""danger""primary""secondary""tertiary""skeleton"
ボタンのスタイルの種類
disabledReason
{ icon?: FunctionComponent<{}>; message: ReactNode; }
無効な理由
wide
falsetrue
true のとき、ボタンの width を 100% にする。
ref
(instance: HTMLButtonElement) => voidRefObject<HTMLButtonElement>