import React, { ReactNode } from 'react'; import { SelectProps } from '../Select'; export interface SelectFieldProps extends SelectProps { children: ReactNode; /** * Can be a string or Node to display as Helper text between the Label and Input */ helperText?: ReactNode; /** * Icon type - defaults to chevronDown */ icon?: 'chevronDown' | 'sort'; /** * Displays as the label for the input */ labelText: string; /** * Unique ID for the input */ name: string; /** * Boolean whether this input has been interacted with */ touched?: boolean; /** * String value to display as an Error */ validationMessage?: string; /** * String value to display as a Warning */ warningMessage?: string; } declare const SelectField: React.ForwardRefExoticComponent>; export default SelectField;