UNPKG

@carbonare/grid

Version:

Grid in js for Carbon Design System

52 lines (38 loc) 2.53 kB
"use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } Object.defineProperty(exports, "__esModule", { value: true }); exports.Column = exports.Row = exports.Grid = exports.Column_make = exports.Row_make = exports.Grid_make = void 0; var GridBS = _interopRequireWildcard(require("./Grid.bs")); function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } /** * * @generated * @nolint */ /* eslint-disable */ // $FlowExpectedError: Reason checked type sufficiently // Type annotated function components are not checked by Flow, but typeof() works. var Grid_make$$forTypeof = function Grid_make$$forTypeof(_) { return null; }; var Grid_make = GridBS.Grid.make; // Type annotated function components are not checked by Flow, but typeof() works. exports.Grid_make = Grid_make; var Row_make$$forTypeof = function Row_make$$forTypeof(_) { return null; }; var Row_make = GridBS.Row.make; // Type annotated function components are not checked by Flow, but typeof() works. exports.Row_make = Row_make; var Column_make$$forTypeof = function Column_make$$forTypeof(_) { return null; }; var Column_make = GridBS.Column.make; exports.Column_make = Column_make; var Grid = GridBS.Grid; exports.Grid = Grid; var Row = GridBS.Row; exports.Row = Row; var Column = GridBS.Column; exports.Column = Column;