UNPKG

@grafana/ui

Version:
22 lines (19 loc) 531 B
import { jsx } from 'react/jsx-runtime'; import { css } from '@emotion/css'; import { useStyles2 } from '../../themes/ThemeContext.mjs'; "use strict"; function MenuDivider() { const styles = useStyles2(getStyles); return /* @__PURE__ */ jsx("div", { className: styles.divider }); } const getStyles = (theme) => { return { divider: css({ height: 1, backgroundColor: theme.colors.border.weak, margin: theme.spacing(0.5, 0) }) }; }; export { MenuDivider }; //# sourceMappingURL=MenuDivider.mjs.map