@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
13 lines (12 loc) • 616 B
TypeScript
interface UseComboboxTargetPropsInput {
targetType: 'input' | 'button' | undefined;
withAriaAttributes: boolean | undefined;
withKeyboardNavigation: boolean | undefined;
withExpandedAttribute: boolean | undefined;
onKeyDown: React.KeyboardEventHandler<HTMLInputElement> | undefined;
autoComplete: string | undefined;
}
export declare function useComboboxTargetProps({ onKeyDown, withKeyboardNavigation, withAriaAttributes, withExpandedAttribute, targetType, autoComplete, }: UseComboboxTargetPropsInput): {
onKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
};
export {};