UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 657 B
import s from"react";var i=(...r)=>r.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((n,o)=>e[o]||e[n]&&n||null).filter(n=>n!==null).join(" "):e).filter(e=>!!e).join(" ");var d="listgroup",a=d;import{jsx as g}from"react/jsx-runtime";var u="k-listgroup",x=[],f={},c={dir:"ltr"},t=r=>{let{children:e,dir:n=c.dir,...o}=r;return g("ul",{...o,className:i(r.className,u),children:s.Children.map(e,(l,m)=>s.isValidElement(l)?s.cloneElement(l,{dir:n,key:m}):l)})};t.states=x;t.options=f;t.className=u;t.defaultOptions=c;t.moduleName=d;t.folderName=a;var _=t;export{u as LISTGROUP_CLASSNAME,t as ListGroup,_ as default};