Input
input
の代わりに使用するコンポーネントです。入力欄の前後にアイコンを入れられます。
Props
autoFocus
falsetrue
オートフォーカスを行うかどうか
prefix
stringnumberfalsetrueReactElement<any, string | JSXElementConstructor<any>>Iterable<ReactNode>ReactPortal
コンポーネント内の先頭に表示する内容
placeholder非推奨
string
@deprecated placeholder属性は非推奨です。別途ヒント用要素を設置するか、それらの領域を確保出来ない場合はTooltipコンポーネントの利用を検討してください。
error
falsetrue
フォームにエラーがあるかどうか
width
stringnumber
コンポーネントの幅
suffix
stringnumberfalsetrueReactElement<any, string | JSXElementConstructor<any>>Iterable<ReactNode>ReactPortal
コンポーネント内の末尾に表示する内容
type
string
input 要素の type
値
bgColor
"COLUMN""BASE_GREY""OVER_BACKGROUND""HEAD""BORDER""ACTION_BACKGROUND""BACKGRUOND"
背景色。readOnly を下地の上に載せる場合に使う