UNPKG

1.22 kBTypeScriptView Raw
1import * as React from 'react';
2import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
3import { Color, Variant } from './types';
4export interface CardProps extends BsPrefixProps, React.HTMLAttributes<HTMLElement> {
5 bg?: Variant;
6 text?: Color;
7 border?: Variant;
8 body?: boolean;
9}
10declare const _default: BsPrefixRefForwardingComponent<"div", CardProps> & {
11 Img: BsPrefixRefForwardingComponent<"img", import("./CardImg").CardImgProps>;
12 Title: BsPrefixRefForwardingComponent<"div", import("./CardTitle").CardTitleProps>;
13 Subtitle: BsPrefixRefForwardingComponent<"div", import("./CardSubtitle").CardSubtitleProps>;
14 Body: BsPrefixRefForwardingComponent<"div", import("./CardBody").CardBodyProps>;
15 Link: BsPrefixRefForwardingComponent<"a", import("./CardLink").CardLinkProps>;
16 Text: BsPrefixRefForwardingComponent<"p", import("./CardText").CardTextProps>;
17 Header: BsPrefixRefForwardingComponent<"div", import("./CardHeader").CardHeaderProps>;
18 Footer: BsPrefixRefForwardingComponent<"div", import("./CardFooter").CardFooterProps>;
19 ImgOverlay: BsPrefixRefForwardingComponent<"div", import("./CardImgOverlay").CardImgOverlayProps>;
20};
21export default _default;