UNPKG

antd-mobile

Version:

<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />

11 lines 292 B
import { isDev } from './is-dev'; export function devWarning(component, message) { if (isDev) { console.warn(`[antd-mobile: ${component}] ${message}`); } } export function devError(component, message) { if (isDev) { console.error(`[antd-mobile: ${component}] ${message}`); } }