UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

12 lines (11 loc) 656 B
import { ButtonTriggerProps } from '../../internal/components/button-trigger'; import { BaseSelectProps, SelectProps } from '../interfaces'; import { OptionDefinition } from '../../internal/components/option/interfaces'; export interface TriggerProps extends BaseSelectProps { triggerProps: ButtonTriggerProps; selectedOption: OptionDefinition | null; isOpen?: boolean; triggerVariant?: SelectProps.TriggerVariant; } declare const Trigger: ({ ariaLabelledby, ariaDescribedby, controlId, invalid, triggerProps, selectedOption, triggerVariant, isOpen, placeholder, disabled, ariaLabel }: TriggerProps) => JSX.Element; export default Trigger;