21 lines
602 B
JavaScript
21 lines
602 B
JavaScript
import { styled } from '@mui/material/styles';
|
|
import { chartsGridClasses } from "./chartsGridClasses.js";
|
|
export const GridRoot = styled('g', {
|
|
name: 'MuiChartsGrid',
|
|
slot: 'Root',
|
|
overridesResolver: (props, styles) => [{
|
|
[`&.${chartsGridClasses.verticalLine}`]: styles.verticalLine
|
|
}, {
|
|
[`&.${chartsGridClasses.horizontalLine}`]: styles.horizontalLine
|
|
}, styles.root]
|
|
})({});
|
|
export const GridLine = styled('line', {
|
|
name: 'MuiChartsGrid',
|
|
slot: 'Line'
|
|
})(({
|
|
theme
|
|
}) => ({
|
|
stroke: (theme.vars || theme).palette.divider,
|
|
shapeRendering: 'crispEdges',
|
|
strokeWidth: 1
|
|
})); |