@mui/x-charts
Version:
The community edition of the charts components (MUI X).
19 lines • 788 B
JavaScript
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _extends from "@babel/runtime/helpers/esm/extends";
import { styled } from '@mui/material/styles';
import { referenceLineClasses } from './chartsReferenceLineClasses';
export var ReferenceLineRoot = styled('g')(function (_ref) {
var theme = _ref.theme;
return _defineProperty(_defineProperty({}, "& .".concat(referenceLineClasses.line), {
fill: 'none',
stroke: (theme.vars || theme).palette.text.primary,
shapeRendering: 'crispEdges',
strokeWidth: 1,
pointerEvents: 'none'
}), "& .".concat(referenceLineClasses.label), _extends({
fill: (theme.vars || theme).palette.text.primary,
stroke: 'none',
pointerEvents: 'none',
fontSize: 12
}, theme.typography.body1));
});