UNPKG

@toolpad/core

Version:

Dashboard framework powered by Material UI.

46 lines 1.67 kB
import * as React from 'react'; import PropTypes from 'prop-types'; import Box from '@mui/material/Box'; import { jsx as _jsx } from "react/jsx-runtime"; /** * * Demos: * * - [Account](https://mui.com/toolpad/core/react-account/) * * API: * * - [AccountPopoverFooter API](https://mui.com/toolpad/core/api/account-popover-footer) */ function AccountPopoverFooter(props) { const { children, ...rest } = props; return /*#__PURE__*/_jsx(Box, { ...rest, sx: { display: 'flex', flexDirection: 'row', p: 1, justifyContent: 'flex-end', ...rest.sx }, children: children }); } process.env.NODE_ENV !== "production" ? AccountPopoverFooter.propTypes /* remove-proptypes */ = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │ // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ children: PropTypes.node, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]) } : void 0; export { AccountPopoverFooter };