UNPKG

laif-ds

Version:

Design System di Laif con componenti React basati su principi di Atomic Design

10 lines (9 loc) 288 B
"use client"; import { constructFromSymbol as o } from "./constants.js"; function c(n, r) { return typeof n == "function" ? n(r) : n && typeof n == "object" && o in n ? n[o](r) : n instanceof Date ? new n.constructor(r) : new Date(r); } export { c as constructFrom, c as default };