1 | # Using the `applyGridConfig` function to update Grid Constants
|
2 |
|
3 | The CSS prefix and the CSS classes for the Grid Component can be dynamically updated. By updating the prefix, or the accompanying classes, you will lose any default CSS but the grid should still function as expected.
|
4 |
|
5 | ## Exampla
|
6 |
|
7 | ````js
|
8 | import { Grid, applyGridConfig } from 'react-redux-grid';
|
9 |
|
10 | applyGridConfig({
|
11 | CLASS_NAMES: {
|
12 | TABLE: 'table-class'
|
13 | },
|
14 | CSS_PREFIX: 'custom-prefix'
|
15 | });
|
16 |
|
17 | const grid = <Grid />;
|
18 |
|
19 | ````
|
20 |
|
\ | No newline at end of file |