@progress/kendo-react-dialogs
Version:
React Dialogs provide modal and non-modal windows for showing additional information to the user. KendoReact Dialogs package
27 lines (26 loc) • 919 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as n from "react";
import t from "prop-types";
import { classNames as c } from "@progress/kendo-react-common";
const i = (s) => {
const e = {
layout: "stretched",
...s
}, { layout: o, children: a } = e, r = c("k-actions", "k-actions-horizontal", "k-window-actions k-dialog-actions", {
[`k-actions-${o}`]: o
});
return /* @__PURE__ */ n.createElement("div", { className: r }, a);
};
i.propTypes = {
children: t.any,
layout: t.oneOf(["start", "center", "end", "stretched"])
};
export {
i as DialogActionsBar
};