import { Box, OptionKey } from '@biom3/react'; import { ThemeOverrides, WidgetTheme } from '@imtbl/checkout-sdk'; import { Environment } from '@imtbl/config'; import { inputStyle, selectInputBoxStyle, selectStyle, } from './SelectInputStyles'; import { SelectForm } from '../SelectForm/SelectForm'; import { InputMode, TextInputForm, TextInputType } from '../TextInputForm/TextInputForm'; import { CoinSelectorOptionProps } from '../../CoinSelector/CoinSelectorOption'; interface SelectInputProps { testId: string; options: CoinSelectorOptionProps[]; selectTextAlign?: 'left' | 'right'; textInputTextAlign?: 'left' | 'right'; textInputValue: string; textInputPlaceholder?: string; textInputSubtext?: string; textInputErrorMessage?: string; textInputType?: TextInputType; testInputMode?: InputMode; selectSubtext?: string; selectErrorMessage?: string; coinSelectorHeading: string; textInputDisabled?: boolean; selectInputDisabled?: boolean; textInputValidator: (value: string) => boolean; onTextInputChange: (value: string) => void; onTextInputBlur?: (value: string) => void; onTextInputFocus?: (value: string) => void; textInputMaxButtonClick?: () => void; onSelectChange: (value: OptionKey) => void; selectedOption?: OptionKey; defaultTokenImage: string;environment?: Environment; theme: WidgetTheme; themeOverrides: ThemeOverrides; } export function SelectInput({ testId, options, textInputValue, textInputPlaceholder, textInputValidator, textInputType, onTextInputChange, onTextInputBlur, onTextInputFocus, textInputTextAlign, textInputSubtext, textInputErrorMessage, testInputMode, selectTextAlign, selectSubtext, selectErrorMessage, textInputMaxButtonClick, onSelectChange, textInputDisabled, selectInputDisabled, selectedOption, coinSelectorHeading, defaultTokenImage, environment, theme, themeOverrides, }: SelectInputProps) { return ( ); }