@zohodesk/components
Version:
Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development
21 lines • 465 B
JavaScript
let id = {
mobileWidth: 640,
zindexCounter: 3,
idCounter: 0,
idPrefix: 'ZD',
scrollFetchLimit: 80,
isReducedMotion: false,
direction: 'ltr',
tooltipDebounce: 175,
getTooltipContainer: () => {},
autoComplete: false,
portalPrefix: '',
getPortalContainer: () => {},
getRootElement: () => {}
};
export function getLibraryConfig(key) {
return id[key];
}
export function setLibraryConfig(configObj) {
id = Object.assign({}, id, configObj);
}