@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 545 B
JavaScript
var l=(...n)=>n.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((t,o)=>e[o]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");var r={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};import{jsx as d}from"react/jsx-runtime";var i="k-card-callout",v=n=>{let{callout:e,...t}=n;return d("span",{...t,className:l(n.className,i,{[`k-callout-${r.calloutMap[e]||e}`]:e})})};export{i as CARDCALLOUT_CLASSNAME,v as CardCallout};