UNPKG

436 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const react_1 = require("react");
4/**
5 * `StdoutContext` is a React context, which exposes stdout stream, where Ink renders your app.
6 */
7const StdoutContext = react_1.createContext({
8 stdout: undefined,
9 write: () => { }
10});
11StdoutContext.displayName = 'InternalStdoutContext';
12exports.default = StdoutContext;
13//# sourceMappingURL=StdoutContext.js.map
\No newline at end of file