1 | import React from 'react';
|
2 | import CardImg from './CardImg';
|
3 | import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
4 | import { Color, Variant } from './types';
|
5 | declare const CardBody: BsPrefixRefForwardingComponent<"div", unknown>;
|
6 | declare const CardTitle: BsPrefixRefForwardingComponent<React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>, unknown>;
|
7 | declare const CardSubtitle: BsPrefixRefForwardingComponent<React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>, unknown>;
|
8 | declare const CardLink: BsPrefixRefForwardingComponent<"a", unknown>;
|
9 | declare const CardText: BsPrefixRefForwardingComponent<"p", unknown>;
|
10 | declare const CardHeader: BsPrefixRefForwardingComponent<"div", unknown>;
|
11 | declare const CardFooter: BsPrefixRefForwardingComponent<"div", unknown>;
|
12 | declare const CardImgOverlay: BsPrefixRefForwardingComponent<"div", unknown>;
|
13 | export interface CardProps extends BsPrefixPropsWithChildren {
|
14 | bg?: Variant;
|
15 | text?: Color;
|
16 | border?: Variant;
|
17 | body?: boolean;
|
18 | }
|
19 | declare type Card = BsPrefixRefForwardingComponent<'div', CardProps> & {
|
20 | Img: typeof CardImg;
|
21 | Title: typeof CardTitle;
|
22 | Subtitle: typeof CardSubtitle;
|
23 | Body: typeof CardBody;
|
24 | Link: typeof CardLink;
|
25 | Text: typeof CardText;
|
26 | Header: typeof CardHeader;
|
27 | Footer: typeof CardFooter;
|
28 | ImgOverlay: typeof CardImgOverlay;
|
29 | };
|
30 | declare const Card: Card;
|
31 | export default Card;
|