UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

11 lines (10 loc) 390 B
"use client"; const n = (t) => ["A", "BUTTON", "INPUT", "SELECT", "TEXTAREA", "AUDIO", "VIDEO"].includes(t.tagName) || t.hasAttribute("contenteditable"), r = (t) => { const e = (a) => n(a) ? !0 : Array.from(a.children).some((s) => e(s)); return e(t); }, c = (t, e) => `tabs-${t}-tabbutton-${e}`, o = (t, e, a) => `tabs-${t}-tabpanel-${e}-${a}`; export { c as a, r as c, o as g };