ant-design/components/card/index.ts
lijianan 9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00

22 lines
491 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;
export default Card;