@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
10 lines • 418 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { createContext } from "react";
import useListsData from "../hooks/lists/useListsData";
export var ListsContext = createContext({});
export var ListsProvider = function (_a) {
var children = _a.children;
var data = useListsData({});
return _jsx(ListsContext.Provider, { value: data, children: children });
};
//# sourceMappingURL=lists-context.js.map