@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
21 lines (20 loc) • 739 B
JavaScript
"use client";
import { styles } from "./style.mjs";
import { jsx, jsxs } from "react/jsx-runtime";
import { cx } from "antd-style";
//#region src/dashboard/PageToolbar/PageToolbar.tsx
/** Filters start at the left edge; actions hold the right edge, also after wrapping. */
const PageToolbar = ({ actions, children, className }) => /* @__PURE__ */ jsxs("div", {
className: cx(styles.root, className),
children: [children ? /* @__PURE__ */ jsx("div", {
className: styles.filters,
children
}) : null, actions ? /* @__PURE__ */ jsx("div", {
className: styles.actions,
children: actions
}) : null]
});
PageToolbar.displayName = "PageToolbar";
//#endregion
export { PageToolbar as default };
//# sourceMappingURL=PageToolbar.mjs.map