'use strict';

var React = require('react');
var noop = require('./noop-cjs.js');

const defaultLayout = (children) => (React.createElement(React.Fragment, null, children));
const defaultValues = {
    title: "",
    data: [],
    headers: {},
    children: [],
    selected: [],
    layoutBreakpoints: [],
    layouts: {
        xs: defaultLayout,
        sm: defaultLayout,
        md: defaultLayout,
        lg: defaultLayout,
        xl: defaultLayout,
    },
    registerLayout: noop.noop,
};
const DataListContext = React.createContext(defaultValues);
function useDataListContext() {
    return React.useContext(DataListContext);
}

exports.DataListContext = DataListContext;
exports.defaultValues = defaultValues;
exports.useDataListContext = useDataListContext;
