import React__default, { createContext, useContext } from 'react';
import { n as noop } from './noop-es.js';

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

export { DataListContext as D, defaultValues as d, useDataListContext as u };
