UNPKG

@cimpress/react-components

Version:
31 lines 925 B
import React, { ReactNode } from 'react'; import { PublicComponentProps } from './types'; type Status = 'success' | 'warning' | 'error'; export interface SelectWrapperProps extends PublicComponentProps { /** * allowed validation states */ status?: Status; /** * A class name to append to the div that wraps the select component. */ containerClassName?: string; /** * Additional help text to display under the select field. */ helpText?: ReactNode; label?: ReactNode; placeholder?: ReactNode; onFocus?: (e: any) => void; onBlur?: (e: any) => void; required?: boolean; /** * The Select you wish to use to render the component. */ selectedSelect?: any; value?: any; [key: string]: any; } export declare const SelectWrapper: (props: SelectWrapperProps) => React.JSX.Element; export {}; //# sourceMappingURL=SelectWrapper.d.ts.map