mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
22 lines
476 B
TypeScript
22 lines
476 B
TypeScript
import InternalCard from './Card';
|
|
import Grid from './Grid';
|
|
import Meta from './Meta';
|
|
|
|
export { CardProps, CardTabListType } from './Card';
|
|
export { CardGridProps } from './Grid';
|
|
export { 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;
|
|
|
|
export default Card;
|