UNPKG

978 BTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { InternalStandardProps as StandardProps, Theme } from '..';
4import { CardActionsClasses } from './cardActionsClasses';
5
6export interface CardActionsProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
7 /**
8 * The content of the component.
9 */
10 children?: React.ReactNode;
11 /**
12 * Override or extend the styles applied to the component.
13 */
14 classes?: Partial<CardActionsClasses>;
15 /**
16 * The system prop that allows defining system overrides as well as additional CSS styles.
17 */
18 sx?: SxProps<Theme>;
19 /**
20 * If `true`, the actions do not have additional margin.
21 * @default false
22 */
23 disableSpacing?: boolean;
24}
25
26/**
27 *
28 * Demos:
29 *
30 * - [Card](https://mui.com/material-ui/react-card/)
31 *
32 * API:
33 *
34 * - [CardActions API](https://mui.com/material-ui/api/card-actions/)
35 */
36export default function CardActions(props: CardActionsProps): React.JSX.Element;