@fremtind/jkl-feedback-react
Version:
Jøkul react feedback component
13 lines (12 loc) • 455 B
JavaScript
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