UNPKG

laif-ds

Version:

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

10 lines (9 loc) 179 B
"use client"; const r = /\d/; function c(n, e, o) { const t = "&#" + String(n); return o && e && !r.test(String.fromCharCode(e)) ? t : t + ";"; } export { c as toDecimal };