//  strict
import PropTypes from 'prop-types';
import * as React from 'react';
import styled from 'styled-components';
import { theme } from '../../Tools/interpolation';
var Wrapper =
/*#__PURE__*/
styled.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"], theme('togglerBorderColor'), theme('togglerBorderColor'));

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

Toggler.propTypes = process.env.NODE_ENV !== "production" ? {
  children: PropTypes.node
} : {};
export default Toggler;