UNPKG

@grafana/ui

Version:
15 lines (12 loc) 630 B
import { jsx } from 'react/jsx-runtime'; import { useStyles2 } from '../../themes/ThemeContext.mjs'; import { Text } from '../Text/Text.mjs'; import { getSelectStyles } from './getSelectStyles.mjs'; "use strict"; 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