UNPKG

@krowdy-ui/core

Version:

React components that implement Google's Material Design.

20 lines (17 loc) 662 B
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; var _excluded = ["children"]; import React from 'react'; import PropTypes from 'prop-types'; import MuiToolbar from '@material-ui/core/Toolbar'; function Toolbar(_ref) { var children = _ref.children, props = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement(MuiToolbar, props, children); } process.env.NODE_ENV !== "production" ? Toolbar.propTypes = { /** * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`. */ children: PropTypes.node.isRequired } : void 0; export default Toolbar;