|
|
|
/* @remove-on-es-build-begin */
|
|
|
|
// this file is not used if use https://github.com/ant-design/babel-plugin-import
|
|
|
|
const ENV = process.env.NODE_ENV;
|
|
|
|
if (
|
|
|
|
ENV !== 'production' &&
|
|
|
|
ENV !== 'test' &&
|
|
|
|
typeof console !== 'undefined' &&
|
|
|
|
console.warn && // eslint-disable-line no-console
|
|
|
|
typeof window !== 'undefined'
|
|
|
|
) {
|
|
|
|
// eslint-disable-next-line no-console
|
|
|
|
console.warn(
|
|
|
|
'You are using a whole package of antd, ' +
|
|
|
|
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
|
|
|
|
);
|
|
|
|
}
|
|
|
|
/* @remove-on-es-build-end */
|
|
|
|
|
|
|
|
export { default as Affix } from './affix';
|
|
|
|
|
|
|
|
export { default as Anchor } from './anchor';
|
|
|
|
|
|
|
|
export { default as AutoComplete } from './auto-complete';
|
|
|
|
|
|
|
|
export { default as Alert } from './alert';
|
|
|
|
|
|
|
|
export { default as Avatar } from './avatar';
|
|
|
|
|
|
|
|
export { default as BackTop } from './back-top';
|
|
|
|
|
|
|
|
export { default as Badge } from './badge';
|
|
|
|
|
|
|
|
export { default as Breadcrumb } from './breadcrumb';
|
|
|
|
|
|
|
|
export { default as Button } from './button';
|
|
|
|
|
|
|
|
export { default as Calendar } from './calendar';
|
|
|
|
|
|
|
|
export { default as Card } from './card';
|
|
|
|
|
|
|
|
export { default as Collapse } from './collapse';
|
|
|
|
|
|
|
|
export { default as Carousel } from './carousel';
|
|
|
|
|
|
|
|
export { default as Cascader } from './cascader';
|
|
|
|
|
|
|
|
export { default as Checkbox } from './checkbox';
|
|
|
|
|
|
|
|
export { default as Col } from './col';
|
|
|
|
|
|
|
|
export { default as Comment } from './comment';
|
|
|
|
|
|
|
|
export { default as ConfigProvider } from './config-provider';
|
|
|
|
|
|
|
|
export { default as DatePicker } from './date-picker';
|
|
|
|
|
|
|
|
export { default as Descriptions } from './descriptions';
|
|
|
|
|
|
|
|
export { default as Divider } from './divider';
|
|
|
|
|
|
|
|
export { default as Dropdown } from './dropdown';
|
|
|
|
|
|
|
|
export { default as Drawer } from './drawer';
|
|
|
|
|
|
|
|
export { default as Empty } from './empty';
|
|
|
|
|
|
|
|
export { default as Form } from './form';
|
|
|
|
|
|
|
|
export { default as Grid } from './grid';
|
|
|
|
|
|
|
|
export { default as Input } from './input';
|
|
|
|
|
|
|
|
export { default as InputNumber } from './input-number';
|
|
|
|
|
|
|
|
export { default as Layout } from './layout';
|
|
|
|
|
|
|
|
export { default as List } from './list';
|
|
|
|
|
|
|
|
export { default as message } from './message';
|
|