@nlabs/gothamjs
Version:
Platform
19 lines (18 loc) • 717 B
TypeScript
import { type FC } from 'react';
import { InputBorderType } from '../InputField/InputField.js';
import { SelectOptionProps } from './SelectOption.js';
import type { GothamColor } from '../../utils/colorUtils.js';
export type SelectFieldProps = {
readonly backgroundColor?: GothamColor;
readonly borderColor?: GothamColor;
readonly borderType?: InputBorderType;
readonly className?: string;
readonly color?: GothamColor;
readonly defaultValue?: string;
readonly label?: string;
readonly labelColor?: GothamColor;
readonly labelClass?: string;
readonly name: string;
readonly options: SelectOptionProps['option'][];
};
export declare const SelectField: FC<SelectFieldProps>;