@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
15 lines (14 loc) • 348 B
TypeScript
interface UseOpenState {
(inputProps: {
resetHighlight: () => void;
onOpen?: () => void;
onClose?: () => void;
}): {
isOpen: boolean;
openDropdown: () => void;
closeDropdown: () => void;
toggleDropdown: () => void;
};
}
export declare const useOpenState: UseOpenState;
export {};