UNPKG

@fremtind/jkl-feedback-react

Version:
13 lines (12 loc) 455 B
import React, { createContext, useContext } from "react"; const mainQuestionContext = createContext(void 0); const useMainQuestionContext = () => useContext(mainQuestionContext); const MainQuestionContextProvider = ({ state, children }) => /* @__PURE__ */ React.createElement(mainQuestionContext.Provider, { value: state }, children); export { MainQuestionContextProvider, useMainQuestionContext }; //# sourceMappingURL=mainQuestionContext.js.map