UNPKG

@etsoo/toolpad

Version:

Dashboard framework extention based on Toolpad Core

27 lines (26 loc) 819 B
"use client"; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PageContainerToolbar = PageContainerToolbar; const jsx_runtime_1 = require("react/jsx-runtime"); const styles_1 = require("@mui/material/styles"); const PageContainerToolbarRoot = (0, styles_1.styled)("div")(({ theme }) => ({ display: "flex", flexDirection: "row", gap: theme.spacing(1), // Ensure the toolbar is always on the right side, even after wrapping marginLeft: "auto" })); /** * * Demos: * * - [Page Container](https://mui.com/toolpad/core/react-page-container/) * * API: * * - [PageContainerToolbar API](https://mui.com/toolpad/core/api/page-container-toolbar) */ function PageContainerToolbar(props) { return (0, jsx_runtime_1.jsx)(PageContainerToolbarRoot, { ...props }); }