|
|
|
/* @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 type { AffixProps } from './affix';
|
|
|
|
export { default as Affix } from './affix';
|
|
|
|
|
|
|
|
export type { AnchorProps, AnchorLinkProps } from './anchor';
|
|
|
|
export { default as Anchor } from './anchor';
|
|
|
|
|
|
|
|
export type { AutoCompleteProps } from './auto-complete';
|
|
|
|
export { default as AutoComplete } from './auto-complete';
|
|
|
|
|
|
|
|
export type { AlertProps } from './alert';
|
|
|
|
export { default as Alert } from './alert';
|
|
|
|
|
|
|
|
export type { AvatarProps } from './avatar';
|
|
|
|
export { default as Avatar } from './avatar';
|
|
|
|
|
|
|
|
export type { BackTopProps } from './back-top';
|
|
|
|
export { default as BackTop } from './back-top';
|
|
|
|
|
|
|
|
export type { BadgeProps } from './badge';
|
|
|
|
export { default as Badge } from './badge';
|
|
|
|
|
|
|
|
export type { BreadcrumbProps, BreadcrumbItemProps } from './breadcrumb';
|
|
|
|
export { default as Breadcrumb } from './breadcrumb';
|
|
|
|
|
|
|
|
export type { ButtonProps } from './button';
|
|
|
|
export { default as Button } from './button';
|
|
|
|
|
|
|
|
export type { CalendarProps } from './calendar';
|
|
|
|
export { default as Calendar } from './calendar';
|
|
|
|
|
|
|
|
export type { CardProps } from './card';
|
|
|
|
export { default as Card } from './card';
|
|
|
|
|
|
|
|
export type { CollapseProps, CollapsePanelProps } from './collapse';
|
|
|
|
export { default as Collapse } from './collapse';
|
|
|
|
|
|
|
|
export type { CarouselProps } from './carousel';
|
|
|
|
export { default as Carousel } from './carousel';
|
|
|
|
|
|
|
|
export type { CascaderProps } from './cascader';
|
|
|
|
export { default as Cascader } from './cascader';
|
|
|
|
|
|
|
|
export type { CheckboxProps, CheckboxOptionType } from './checkbox';
|
|
|
|
export { default as Checkbox } from './checkbox';
|
|
|
|
|
|
|
|
export type { ColProps } from './col';
|
|
|
|
export { default as Col } from './col';
|
|
|
|
|
|
|
|
export type { CommentProps } from './comment';
|
|
|
|
export { default as Comment } from './comment';
|
|
|
|
|
|
|
|
export { default as ConfigProvider } from './config-provider';
|
|
|
|
|
|