2017-07-07 13:36:54 +08:00
|
|
|
import Grid from './Grid';
|
2017-08-09 14:34:10 +08:00
|
|
|
import Meta from './Meta';
|
2022-05-26 20:50:16 +08:00
|
|
|
import InternalCard from './Card';
|
2019-08-05 18:38:10 +08:00
|
|
|
|
2017-09-25 22:14:49 +08:00
|
|
|
export { CardGridProps } from './Grid';
|
|
|
|
export { CardMetaProps } from './Meta';
|
2022-05-26 20:50:16 +08:00
|
|
|
export { CardProps, CardTabListType } from './Card';
|
2017-09-25 22:14:49 +08:00
|
|
|
|
2022-05-26 20:50:16 +08:00
|
|
|
type InternalCardType = typeof InternalCard;
|
2017-08-09 14:34:10 +08:00
|
|
|
|
2022-05-26 20:50:16 +08:00
|
|
|
export interface CardInterface extends InternalCardType {
|
2020-05-17 00:49:05 +08:00
|
|
|
Grid: typeof Grid;
|
|
|
|
Meta: typeof Meta;
|
|
|
|
}
|
2019-08-05 18:38:10 +08:00
|
|
|
|
2022-05-26 20:50:16 +08:00
|
|
|
const Card = InternalCard as CardInterface;
|
2020-05-17 00:49:05 +08:00
|
|
|
|
|
|
|
Card.Grid = Grid;
|
|
|
|
Card.Meta = Meta;
|
|
|
|
|
|
|
|
export default Card;
|