@asyncapi/react-component
Version:
A React component for AsyncAPI specification.
10 lines • 369 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.useConfig = exports.ConfigContext = void 0;
var react_1 = require("react");
exports.ConfigContext = (0, react_1.createContext)({});
function useConfig() {
return (0, react_1.useContext)(exports.ConfigContext);
}
exports.useConfig = useConfig;
//# sourceMappingURL=useConfig.js.map
;