UNPKG

@roderickhsiao/react-i13n

Version:

[Experiment] React I13n provides a performant and scalable solution to application instrumentation.

15 lines 489 B
/** * Copyright 2015 - Present, Yahoo Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import { createContext } from 'react'; var I13nContext = /*#__PURE__*/createContext({ executeEvent: (name, payload, callback) => { callback === null || callback === void 0 ? void 0 : callback(); }, i13nInstance: null, i13nNode: null, parentI13nNode: null }); I13nContext.displayName = 'ReactI13nContext'; export default I13nContext;