"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var _react = _interopRequireDefault(require("react"));

var _styledComponents = _interopRequireDefault(require("styled-components"));

//  strict
var Wrapper =
/*#__PURE__*/
_styledComponents.default.div.withConfig({
  componentId: "sc-6r1567-0"
})(["\n  display: flex;\n  flex-direction: row;\n  justify-content: flex-start;\n  align-items: flex-start;\n  width: fit-content;\n  border: 1px solid ", ";\n  border-radius: 0.2rem;\n  box-sizing: border-box;\n\n  & > *:not(:last-child) {\n    border-right: 1px solid ", ";\n  }\n"], function (props) {
  return props.theme['togglerBorderColor'];
}, function (props) {
  return props.theme['togglerBorderColor'];
});

var Toggler = function Toggler(_ref) {
  var children = _ref.children;
  return _react.default.createElement(Wrapper, null, children);
};

Toggler.propTypes = process.env.NODE_ENV !== "production" ? {
  children: _propTypes.default.node
} : {};
var _default = Toggler;
exports.default = _default;