downshift
Version:
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
12 lines (11 loc) • 321 B
TypeScript
type UseElementIdsProps = {
id?: string;
tagGroupId?: string;
getTagId?: (index: number) => string;
};
type UseElementIdsReturnValue = {
tagGroupId: string;
getTagId: (index: number) => string;
};
export declare const useElementIds: (props: UseElementIdsProps) => UseElementIdsReturnValue;
export {};