import { OverrideProps } from "../OverridableComponent"; import { Theme } from "../styles"; import { Variant } from "../styles/createTypography"; import { TypographyClasses } from "./typographyClasses"; import { SxProps, SystemProps } from "@suid/system"; import { ElementType, OverridableStringUnion } from "@suid/types"; import { JSXElement } from "solid-js"; export interface TypographyPropsVariantOverrides { } export interface TypographyTypeMap

{ name: "MuiTypography"; defaultPropNames: "align" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping"; selfProps: { /** * Set the text-align on the component. * @default 'inherit' */ align?: "inherit" | "left" | "center" | "right" | "justify"; /** * The content of the component. */ children?: JSXElement; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * If `true`, the text will have a bottom margin. * @default false */ gutterBottom?: boolean; /** * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis. * * Note that text overflow can only happen with block or inline-block level elements * (the element needs to have a width in order to overflow). * @default false */ noWrap?: boolean; /** * If `true`, the element will be a paragraph element. * @default false */ paragraph?: boolean; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * Applies the theme typography styles. * @default 'body1' */ variant?: OverridableStringUnion; /** * The component maps the variant prop to a range of different HTML element types. * For instance, subtitle1 to `

`. * If you wish to change that mapping, you can provide your own. * Alternatively, you can use the `component` prop. * @default { * h1: 'h1', * h2: 'h2', * h3: 'h3', * h4: 'h4', * h5: 'h5', * h6: 'h6', * subtitle1: 'h6', * subtitle2: 'h6', * body1: 'p', * body2: 'p', * inherit: 'p', * } */ variantMapping?: Partial, string>>; }; props: P & SystemProps & TypographyTypeMap["selfProps"]; defaultComponent: D; } export type TypographyProps = OverrideProps, D>; export default TypographyProps; //# sourceMappingURL=TypographyProps.d.ts.map