UNPKG

574 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '..';
3import { PaperProps } from '../Paper';
4
5export interface CardProps extends StandardProps<PaperProps, CardClassKey> {
6 /**
7 * If `true`, the card will use raised styling.
8 */
9 raised?: boolean;
10}
11
12export type CardClassKey = 'root';
13
14/**
15 *
16 * Demos:
17 *
18 * - [Cards](https://material-ui.com/components/cards/)
19 *
20 * API:
21 *
22 * - [Card API](https://material-ui.com/api/card/)
23 * - inherits [Paper API](https://material-ui.com/api/paper/)
24 */
25export default function Card(props: CardProps): JSX.Element;