import { OverridableComponent, OverrideProps } from "../OverridableComponent"; import { TypographyProps } from "../Typography"; import { Theme } from "../styles"; import { CardHeaderClasses } from "./cardHeaderClasses"; import { SxProps } from "@suid/system"; import { ElementType } from "@suid/types"; import { JSXElement } from "solid-js"; export interface CardHeaderTypeMap { name: "MuiCardHeader"; defaultPropNames: "disableTypography"; selfProps: { /** * The action to display in the card header. */ action?: JSXElement; /** * The Avatar element to display. */ avatar?: JSXElement; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * If `true`, `subheader` and `title` won't be wrapped by a Typography component. * This can be useful to render an alternative Typography variant by wrapping * the `title` text, and optional `subheader` text * with the Typography component. * @default false */ disableTypography?: boolean; /** * The content of the component. */ subheader?: JSXElement; /** * These props will be forwarded to the subheader * (as long as disableTypography is not `true`). */ subheaderTypographyProps?: TypographyProps; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * The content of the component. */ title?: JSXElement; /** * These props will be forwarded to the title * (as long as disableTypography is not `true`). */ titleTypographyProps?: TypographyProps; }; props: Props & CardHeaderTypeMap["selfProps"]; defaultComponent: DefaultComponent; } export interface OverridableCardHeader extends OverridableComponent { (props: CardHeaderPropsWithComponent): Element; } export type CardHeaderProps = OverrideProps, DefaultComponent>; export type CardHeaderPropsWithComponent = { /** * The component used for the root node. * Either a string to use a HTML element or a component. */ component?: DefaultComponent; } & CardHeaderProps; //# sourceMappingURL=CardHeaderProps.d.ts.map