1 | import * as React from 'react';
|
2 | import { StandardProps } from '..';
|
3 | import { TypographyProps } from '../Typography';
|
4 |
|
5 | export interface CardHeaderProps
|
6 | extends StandardProps<React.HTMLAttributes<HTMLDivElement>, CardHeaderClassKey, 'title'> {
|
7 | action?: React.ReactNode;
|
8 | avatar?: React.ReactNode;
|
9 | component?: React.ElementType<React.HTMLAttributes<HTMLDivElement>>;
|
10 | disableTypography?: boolean;
|
11 | subheader?: React.ReactNode;
|
12 | subheaderTypographyProps?: Partial<TypographyProps>;
|
13 | title?: React.ReactNode;
|
14 | titleTypographyProps?: Partial<TypographyProps>;
|
15 | }
|
16 |
|
17 | export type CardHeaderClassKey = 'root' | 'avatar' | 'action' | 'content' | 'title' | 'subheader';
|
18 |
|
19 | declare const CardHeader: React.ComponentType<CardHeaderProps>;
|
20 |
|
21 | export default CardHeader;
|