UNPKG

laif-ds

Version:

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

12 lines (11 loc) 216 B
"use client"; const r = /[ \t\n\f\r]/g; function c(e) { return typeof e == "object" ? e.type === "text" ? t(e.value) : !1 : t(e); } function t(e) { return e.replace(r, "") === ""; } export { c as whitespace };