UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

13 lines (11 loc) 853 B
import { default as React } from 'react'; import { FormSelectChoice, InputSelectComponentProps } from '../../../lib/types/types'; interface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> { segmentId: string; errorId?: string; } export declare const Status: ({ value, isErrored, errorId, options, onChange, intl, placeholder, onKeyDown, segmentId, disabled, }: StatusComponentProps) => React.JSX.Element; export declare const StatusComponent: React.ComponentClass<Pick<StatusComponentProps<FormSelectChoice>, "isErrored" | "onChange" | "value" | "disabled" | "onKeyDown" | "label" | "placeholder" | "isRequired" | "errorId" | "options" | "suppressPlaceholder" | "segmentId">, any> & { WrappedComponent: React.ComponentType<StatusComponentProps<FormSelectChoice> & ReactIntl.InjectedIntlProps>; }; export {};