Skip to content

Commit

Permalink
Merge remote-tracking branch 'roy/fix-nested-typography-prop-componen…
Browse files Browse the repository at this point in the history
…t' into fix-nested-typography-prop-component

# Conflicts:
#	packages/material-ui/src/CardHeader/CardHeader.spec.tsx
#	packages/material-ui/src/ListItemText/ListItemText.spec.tsx
  • Loading branch information
rart committed Mar 19, 2020
2 parents 261da95 + 16b72d7 commit 968b06b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/material-ui/src/Typography/Typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { StandardProps, PropTypes } from '..';
import { OverrideProps, OverridableTypeMap, OverridableComponent } from '../OverridableComponent';
import { PropTypes } from '..';
import { OverrideProps, OverridableComponent } from '../OverridableComponent';
import { Variant as ThemeVariant } from '../styles/createTypography';

type Variant = ThemeVariant | 'srOnly';
Expand All @@ -22,6 +22,7 @@ export interface TypographyTypeMap<P = {}, D extends React.ElementType = 'span'>
paragraph?: boolean;
variant?: Variant | 'inherit';
variantMapping?: Partial<Record<Variant, string>>;
component?: React.ElementType;
};
defaultComponent: D;
classKey: TypographyClassKey;
Expand Down

0 comments on commit 968b06b

Please sign in to comment.