UNPKG

@hitachivantara/uikit-react-core

Version:

Core React components for the NEXT Design System.

11 lines (10 loc) 265 B
import { uniqueId } from "./helpers.js"; const setId = (...args) => args.some((arg) => arg == null) ? void 0 : args.join("-"); const setUid = (id, suffix) => { const uid = setId(id, suffix); return uid ? uniqueId(uid) : void 0; }; export { setId, setUid };