MCPcopy Create free account
hub / github.com/Lobos/react-ui / setOptions

Function setOptions

src/utils/grids.js:15–28  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

13let defaultResponsive = 'md';
14
15export function setOptions(options) {
16 if (!options) {
17 return;
18 }
19 if (options.gridPre) {
20 gridPre = options.gridPre;
21 }
22 if (options.offsetPre) {
23 offsetPre = options.offsetPre;
24 }
25 if (options.responsive) {
26 defaultResponsive = options.responsive;
27 }
28}
29
30export function getGrid(options) {
31 if (!options) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…