@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 486 B
JavaScript
var i=(...n)=>n.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((t,l)=>e[l]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");import{Fragment as a,jsx as r}from"react/jsx-runtime";var d="k-input-prefix",o={direction:"horizontal"},$=n=>{let{direction:e=o.direction,...t}=n;return n.children?r("span",{...t,className:i(d,n.className,{[`k-input-prefix-${e}`]:e}),children:n.children}):r(a,{})};export{$ as InputPrefix};