UNPKG

@progress/kendo-react-layout

Version:

React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package

9 lines (8 loc) 1.64 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),r=require("prop-types"),l=require("@progress/kendo-react-common");function u(o){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>o[t]})}}return e.default=o,Object.freeze(e)}const d=u(s),c="ActionSheetFooter",a=o=>{const{actionButtonsAlignment:e="stretched",actionButtonsOrientation:t="horizontal",className:n,children:i}=o;return d.createElement("div",{className:l.classNames("k-actionsheet-footer",{"k-actions":e||t,"k-actions-horizontal":t==="horizontal","k-actions-vertical":t==="vertical","k-actions-start":e==="start"&&t==="horizontal","k-actions-center":e==="center"&&t==="horizontal","k-actions-end":e==="end"&&t==="horizontal","k-actions-stretched":e==="stretched","k-actions-justify":e==="justify"&&t==="horizontal"},n)},i)};a.propTypes={className:r.string,children:r.any,actionButtonsOrientation:r.oneOf(["horizontal","vertical"]),actionButtonsAlignment:r.oneOf(["start","center","end","stretched","justify"])};a.displayName=c;exports.ActionSheetFooter=a;exports.footerDisplayName=c;