mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
8501adbd84
* fix: add displayName * rerun ci * rerun ci
26 lines
568 B
TypeScript
26 lines
568 B
TypeScript
import InternalCard from './Card';
|
|
import Grid from './Grid';
|
|
import Meta from './Meta';
|
|
|
|
export type { CardProps, CardTabListType } from './Card';
|
|
export type { CardGridProps } from './Grid';
|
|
export type { CardMetaProps } from './Meta';
|
|
|
|
type InternalCardType = typeof InternalCard;
|
|
|
|
export interface CardInterface extends InternalCardType {
|
|
Grid: typeof Grid;
|
|
Meta: typeof Meta;
|
|
}
|
|
|
|
const Card = InternalCard as CardInterface;
|
|
|
|
Card.Grid = Grid;
|
|
Card.Meta = Meta;
|
|
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
Card.displayName = 'Card';
|
|
}
|
|
|
|
export default Card;
|