12
app/components/Recharts/CartesianGrid.js
Executable file
12
app/components/Recharts/CartesianGrid.js
Executable file
@@ -0,0 +1,12 @@
|
||||
import { CartesianGrid } from 'recharts';
|
||||
|
||||
import styleConfig from './config';
|
||||
|
||||
class CustomCartesianGrid extends CartesianGrid {
|
||||
static defaultProps = {
|
||||
...CartesianGrid.defaultProps,
|
||||
...styleConfig.grid,
|
||||
}
|
||||
}
|
||||
|
||||
export { CustomCartesianGrid as CartesianGrid };
|
Reference in New Issue
Block a user