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