"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Group = Group;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _ = require("../../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var NormalizedUl = _styledComponents.default.ul.withConfig({
  displayName: "Group__NormalizedUl",
  componentId: "sc-d7fb4u-0"
})(["list-style-type:none;padding:0;margin:0;"]);
var StyledTypography = (0, _styledComponents.default)(_.Typography).withConfig({
  displayName: "Group__StyledTypography",
  componentId: "sc-d7fb4u-1"
})(["padding:", ";display:inline-block;"], function (p) {
  return "".concat(p.theme.spacing.unit(2), "px\n    ").concat(p.theme.spacing.unit(3), "px\n    ").concat(p.theme.spacing.unit(1), "px\n    ").concat(p.theme.spacing.unit(3), "px\n    ");
});
function Group(props) {
  var label = props.label,
    children = props.children;
  return _react.default.createElement("li", null, _react.default.createElement(StyledTypography, {
    type: "tertiary",
    color: function color(t) {
      return t.colorTokens.neutral.text_weak;
    }
  }, label), _react.default.createElement(NormalizedUl, null, children));
}