import React from "react";
import Flex from "../../components/templates/flex";
var Topbar = function Topbar(_ref) {
  var _ref$extended = _ref.extended,
    extended = _ref$extended === void 0 ? false : _ref$extended,
    children = _ref.children,
    mainChild = _ref.mainChild;
  return /*#__PURE__*/React.createElement(Flex, {
    justifyContent: "between"
  }, mainChild, /*#__PURE__*/React.createElement(Flex, {
    alignItems: "center",
    gap: extended ? 8 : 5
  }, children));
};
export default Topbar;