UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

42 lines (38 loc) 1.11 kB
import * as React from 'react'; import { SxProps } from '@mui/system'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; import { Theme } from '..'; import { CardContentClasses } from './cardContentClasses'; export interface CardContentTypeMap<P = {}, D extends React.ElementType = 'div'> { props: P & { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial<CardContentClasses>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme>; }; defaultComponent: D; } /** * * Demos: * * - [Cards](https://mui.com/components/cards/) * * API: * * - [CardContent API](https://mui.com/api/card-content/) */ declare const CardContent: OverridableComponent<CardContentTypeMap>; export type CardContentProps< D extends React.ElementType = CardContentTypeMap['defaultComponent'], P = {}, > = OverrideProps<CardContentTypeMap<P, D>, D>; export default CardContent;