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