UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 981 B
var r=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?r(...e):typeof e=="object"?Object.keys(e).map((n,i)=>e[i]||e[n]&&n||null).filter(n=>n!==null).join(" "):e).filter(e=>!!e).join(" ");var l="action-buttons",d=l;import{jsx as g}from"react/jsx-runtime";var a="k-actions",f=[],x={},s={alignment:"start",orientation:"horizontal"},o=t=>{let{alignment:e=s.alignment,orientation:n=s.orientation,...i}=t;return g("div",{...i,className:r(a,{[`${a}-${e}`]:e,[`${a}-${n}`]:n},t.className),children:t.children})};o.states=f;o.options=x;o.className=a;o.defaultOptions=s;o.moduleName=l;o.folderName=d;import{jsx as A}from"react/jsx-runtime";var h="k-actionsheet-footer",c={alignment:"stretched",orientation:"horizontal"},F=t=>{let{alignment:e=c.alignment,orientation:n=c.orientation,template:i,as:u=i?"div":o,...m}=t;return A(u,{...m,...!i&&{alignment:e,orientation:n},className:r(t.className,h),children:t.children})};export{h as ACTIONSHEETFOOTER_CLASSNAME,F as ActionSheetFooter};