UNPKG

@fremtind/jkl-feedback-react

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