@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
5 lines (4 loc) • 499 B
JavaScript
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
v3.3.0-next.10 */
import{a as n,b as m,c}from"./JQCB24OX.js";import{a as l}from"./ZKRWX7SK.js";import{F as i}from"./MPBE2SPX.js";function f(e){return Math.min(Math.max(Math.ceil(e),1),6)}var h=({children:e,...a})=>{let t=a.level?n(`h${a.level}`):m`div`;return l(a.key,c`<${t} class=${i(a.class)}>${e}</${t}>`)};export{f as a,h as b};