UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

15 lines (14 loc) 759 B
interface UseComboboxTargetPropsInput { targetType: 'input' | 'button' | undefined; withAriaAttributes: boolean | undefined; withKeyboardNavigation: boolean | undefined; withExpandedAttribute: boolean | undefined; onKeyDown: React.KeyboardEventHandler<HTMLInputElement> | undefined; onClick: React.MouseEventHandler<HTMLInputElement> | undefined; autoComplete: string | undefined; } export declare function useComboboxTargetProps({ onKeyDown, onClick, withKeyboardNavigation, withAriaAttributes, withExpandedAttribute, targetType, autoComplete, }: UseComboboxTargetPropsInput): { onKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void; onClick: (event: React.MouseEvent<HTMLInputElement>) => void; }; export {};