@etsoo/toolpad
Version:
Dashboard framework extention based on Toolpad Core
25 lines (24 loc) • 684 B
JavaScript
"use client";
import { jsx as _jsx } from "react/jsx-runtime";
import { styled } from "@mui/material/styles";
const PageContainerToolbarRoot = 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 _jsx(PageContainerToolbarRoot, { ...props });
}
export { PageContainerToolbar };