UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

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