@giphy/react-native-sdk
Version:
Giphy React Native SDK
21 lines (20 loc) • 666 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.GiphySDK = void 0;
var _NativeGiphySDK = _interopRequireDefault(require("./specs/NativeGiphySDK"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const DEFAULT_VIDEO_CACHE_MAX_BYTES = 100 * 1024 * 1024;
class GiphySDK {
static configure(options) {
const {
apiKey,
videoCacheMaxBytes = DEFAULT_VIDEO_CACHE_MAX_BYTES,
verificationMode = false
} = options;
_NativeGiphySDK.default.configure(apiKey, verificationMode, videoCacheMaxBytes);
}
}
exports.GiphySDK = GiphySDK;
//# sourceMappingURL=GiphySDK.js.map