import React from 'react';
import styled from 'styled-components';
import { Typography } from '../../../../..';
var StyledOptionGroup = styled(Typography).withConfig({
  displayName: "OptionGroup__StyledOptionGroup",
  componentId: "sc-1541adc-0"
})(["display:flex;align-items:center;padding-right:", "px;padding-left:", "px;padding-top:", "px;padding-bottom:", "px;color:", ";pointer-events:none;user-select:none;"], function (p) {
  return p.theme.spacing.unit(3);
}, function (p) {
  return p.theme.spacing.unit(3);
}, function (p) {
  return p.theme.spacing.unit(p.$index === 0 ? 1 : 3);
}, function (p) {
  return p.theme.spacing.unit(1);
}, function (p) {
  return p.theme.color.label;
});
export var OptionGroup = function OptionGroup(_ref) {
  var index = _ref.index,
    label = _ref.label;
  return React.createElement(StyledOptionGroup, {
    $index: index,
    type: "tertiary"
  }, label);
};