UNPKG

@grafana/ui

Version:
17 lines (14 loc) 550 B
import { jsx } from 'react/jsx-runtime'; import { cx, css } from '@emotion/css'; import { useStyles2 } from '../../themes/ThemeContext.mjs'; const TabContent = ({ children, className, ...restProps }) => { const styles = useStyles2(getTabContentStyle); return /* @__PURE__ */ jsx("div", { ...restProps, className: cx(styles.tabContent, className), children }); }; const getTabContentStyle = (theme) => ({ tabContent: css({ background: theme.colors.background.primary }) }); export { TabContent }; //# sourceMappingURL=TabContent.mjs.map