1 | import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
2 | import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
3 | import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
4 | export function getGridUtilityClass(slot) {
|
5 | return generateUtilityClass('MuiGrid', slot);
|
6 | }
|
7 | var SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
8 | var DIRECTIONS = ['column-reverse', 'column', 'row-reverse', 'row'];
|
9 | var WRAPS = ['nowrap', 'wrap-reverse', 'wrap'];
|
10 | var GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
11 | var gridClasses = generateUtilityClasses('MuiGrid', ['root', 'container', 'item', 'zeroMinWidth'].concat(_toConsumableArray(SPACINGS.map(function (spacing) {
|
12 | return "spacing-xs-".concat(spacing);
|
13 | })), _toConsumableArray(DIRECTIONS.map(function (direction) {
|
14 | return "direction-xs-".concat(direction);
|
15 | })), _toConsumableArray(WRAPS.map(function (wrap) {
|
16 | return "wrap-xs-".concat(wrap);
|
17 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
18 | return "grid-xs-".concat(size);
|
19 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
20 | return "grid-sm-".concat(size);
|
21 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
22 | return "grid-md-".concat(size);
|
23 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
24 | return "grid-lg-".concat(size);
|
25 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
26 | return "grid-xl-".concat(size);
|
27 | }))));
|
28 | export default gridClasses; |
\ | No newline at end of file |