"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.FlexTableProvider = exports.FlexTableContext = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var FlexTableContext = exports.FlexTableContext = _react.default.createContext(undefined);
var FlexTableProvider = exports.FlexTableProvider = function FlexTableProvider(_ref) {
  var children = _ref.children,
    id = _ref.id,
    density = _ref.density,
    columnDistance = _ref.columnDistance,
    expandable = _ref.expandable,
    fontSize = _ref.fontSize,
    stickyHeader = _ref.stickyHeader,
    persistSortingOrder = _ref.persistSortingOrder,
    sm = _ref.sm,
    md = _ref.md,
    lg = _ref.lg,
    xl = _ref.xl;
  return _react.default.createElement(FlexTableContext.Provider, {
    value: {
      id: id,
      density: density,
      columnDistance: columnDistance,
      stickyHeader: stickyHeader,
      fontSize: fontSize,
      expandable: expandable,
      persistSortingOrder: persistSortingOrder,
      sm: sm,
      md: md,
      lg: lg,
      xl: xl
    }
  }, children);
};