import React from 'react';
import styled from 'styled-components';
import { Typography } from '../../..';
var NormalizedUl = styled.ul.withConfig({
  displayName: "Group__NormalizedUl",
  componentId: "sc-d7fb4u-0"
})(["list-style-type:none;padding:0;margin:0;"]);
var StyledTypography = styled(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    ");
});
export function Group(props) {
  var label = props.label,
    children = props.children;
  return React.createElement("li", null, React.createElement(StyledTypography, {
    type: "tertiary",
    color: function color(t) {
      return t.colorTokens.neutral.text_weak;
    }
  }, label), React.createElement(NormalizedUl, null, children));
}