UNPKG

laif-ds

Version:

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

16 lines (15 loc) 296 B
"use client"; function c(t, e) { const p = { type: "text", value: e.value.replace(/\r?\n|\r/g, " ") }; t.patch(e, p); const r = { type: "element", tagName: "code", properties: {}, children: [p] }; return t.patch(e, r), t.applyData(e, r); } export { c as inlineCode };