UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 514 B
var i=(...l)=>l.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((t,d)=>e[d]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as o}from"react/jsx-runtime";var a="k-separator",r={orientation:"horizontal"},n=l=>{let{orientation:e=r.orientation,...t}=l;return o("li",{...t,className:i(l.className,"k-item",a,{[`${a}-${e}`]:e})})};n.className=a;n.defaultOptions=r;var y=n;export{n as MenuSeparator,a as SEPARATOR_CLASSNAME,y as default};