Files
sigpro-ui/src/core/utils.js

6 lines
188 B
JavaScript

export const val = t => typeof t === "function" ? t() : t;
export const joinClass = (t, l) => typeof l === "function"
? () => `${t} ${l() || ""}`.trim()
: `${t} ${l || ""}`.trim();