/** * TextValueInput - テキスト/日付入力コンポーネント * * フィルター設定パネルでテキストまたは単一日付の入力を提供します。 * inputTypeに応じて適切なInput要素とコンテナをレンダリングします。 * * @example * ```tsx * // テキスト入力 * setValue(value)} * onKeyDown={handleKeyDown} * /> * * // 日付入力 * setValue(value)} * /> * ``` */ import React from "react"; export type TextValueInputProps = { /** 入力タイプ (text または date) */ inputType: "text" | "date"; /** 入力値 */ value: string; /** プレースホルダーテキスト */ placeholder?: string; /** 値が変更されたときのコールバック */ onValueChange: (value: string) => void; /** キーボードイベントのハンドラー(テキスト入力時のみ使用) */ onKeyDown?: (event: React.KeyboardEvent) => void; /** 日付の表示フォーマット(inputType=date時、dayjsのformat形式) @default YYYY-MM-DD */ format?: string; /** テキスト入力要素への ref(inputType=text 時のみ使用) */ inputRef?: React.Ref; disabled?: boolean; }; /** * テキスト/日付入力コンポーネント */ export declare const TextValueInput: React.FC;