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