UNPKG

pay-sdk-react

Version:

A cross-platform payment SDK for React, supporting Alipay, WeChat Pay, PayPal, Stripe, Payssion, and Airwallex, compatible with H5, PC, and App environments.

15 lines (14 loc) 358 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = warning; function warning(condition, message, ...extra) { if (process.env.NODE_ENV !== 'production' && console) { if (condition) { return console.error(`[pay-sdk-react]: ${message}`, extra ? { detail: extra } : undefined); } } }