UNPKG

@tabula/ui-selector

Version:

Selector allow users to choose a single option from a collapsible list of options when space is limited

15 lines (14 loc) 567 B
import { ReactNode } from 'react'; import { Props as SelectorProps } from '../Selector.types'; type Props = Pick<SelectorProps, 'loading' | 'onRenderTrigger' | 'placeholder' | 'showSearchField'> & { className?: string; disabled?: boolean; isInvalid?: boolean; isVisible: boolean; isWarning?: boolean; }; export declare function Trigger({ className, disabled, isInvalid, isVisible, isWarning, loading, onRenderTrigger, placeholder, showSearchField, }: Props): ReactNode; export declare namespace Trigger { var displayName: string; } export {};