UNPKG

@boxyhq/react-ui

Version:

React UI components from BoxyHQ

9 lines (8 loc) 377 B
/** * * @param component Pass the SDK component name here (e.g., sso) * @param elementType Pass the HTML element type for which the Id is to be generated (e.g., input) * @returns {string} Id that is gauranteed to be unique suitable for use as HTML id attributes */ declare const getUniqueId: (component: string, elementType: string) => string; export default getUniqueId;