ant-design-vue/components/_util/warning.js
2020-10-02 15:44:10 +08:00

8 lines
195 B
JavaScript

import warning, { resetWarned } from '../vc-util/warning';
export { resetWarned };
export default (valid, component, message = '') => {
warning(valid, `[antdv: ${component}] ${message}`);
};