@grafana/ui
Version:
Grafana Components Library
15 lines (12 loc) • 630 B
JavaScript
import { jsx } from 'react/jsx-runtime';
import { useStyles2 } from '../../themes/ThemeContext.mjs';
import { Text } from '../Text/Text.mjs';
import { getSelectStyles } from './getSelectStyles.mjs';
;
const SelectOptionGroupHeader = (props) => {
var _a;
const styles = useStyles2(getSelectStyles);
return /* @__PURE__ */ jsx("div", { className: styles.groupHeader, children: /* @__PURE__ */ jsx(Text, { weight: "bold", variant: "bodySmall", color: "secondary", children: (_a = props.children) != null ? _a : "" }) });
};
export { SelectOptionGroupHeader };
//# sourceMappingURL=SelectOptionGroupHeader.mjs.map