UNPKG

reactotron-core-client

Version:

Grants Reactotron clients the ability to talk to a Reactotron server.

36 lines (35 loc) 666 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; /** * Provides an image. */ const image = () => reactotron => { return { features: { // expanded just to show the specs image: payload => { const { uri, preview, filename, width, height, caption } = payload; return reactotron.send("image", { uri, preview, filename, width, height, caption }); } } }; }; var _default = exports.default = image; //# sourceMappingURL=image.js.map