ant-design/components/card/index.tsx

22 lines
476 B
TypeScript
Raw Normal View History

2022-06-22 14:57:09 +08:00
import InternalCard from './Card';
import Grid from './Grid';
import Meta from './Meta';
2019-08-05 18:38:10 +08:00
2022-06-22 14:57:09 +08:00
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;
}
2019-08-05 18:38:10 +08:00
const Card = InternalCard as CardInterface;
Card.Grid = Grid;
Card.Meta = Meta;
export default Card;