@grafana/ui
Version:
Grafana Components Library
24 lines (21 loc) • 680 B
JavaScript
import { jsx } from 'react/jsx-runtime';
import { css } from '@emotion/css';
import SVG from 'react-inlinesvg';
import { useStyles2 } from '../../../themes/ThemeContext.mjs';
import grotCTASvg from './grot-cta.svg.mjs';
const GrotCTA = ({ width = "auto", height }) => {
const styles = useStyles2(getStyles);
return /* @__PURE__ */ jsx(SVG, { src: grotCTASvg, className: styles.svg, height, width });
};
GrotCTA.displayName = "GrotCTA";
const getStyles = (theme) => {
return {
svg: css({
"#grot-cta-cactus-1, #grot-cta-cactus-2": {
fill: theme.isDark ? "#58558c" : "#c9c5f4"
}
})
};
};
export { GrotCTA };
//# sourceMappingURL=GrotCTA.mjs.map