UNPKG

laif-ds

Version:

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

13 lines (12 loc) 273 B
"use client"; function o(r) { const e = r.options.rule || "*"; if (e !== "*" && e !== "-" && e !== "_") throw new Error( "Cannot serialize rules with `" + e + "` for `options.rule`, expected `*`, `-`, or `_`" ); return e; } export { o as checkRule };