// @inheritedComponent Typography

import React from 'react';
import PropTypes from 'prop-types';
import withStyles from '../styles/withStyles';
import Typography from '../Typography';

export const styles = {
  /* Styles applied to the root element. */
  root: {
    // Should use variant="body1" in v4.0.0
    lineHeight: 1.5,
  },
};

function DialogContentText(props) {
  return <Typography component="p" variant="subheading" color="textSecondary" {...props} />;
}

DialogContentText.propTypes = {
  /**
   * The content of the component.
   */
  children: PropTypes.node,
  /**
   * Override or extend the styles applied to the component.
   * See [CSS API](#css-api) below for more details.
   */
  classes: PropTypes.object.isRequired,
};

export default withStyles(styles, { name: 'MuiDialogContentText' })(DialogContentText);

@@ -376,16 +376,22 @@
  return 
+(%0A    
 %3CTypogra
@@ -393,16 +393,22 @@
 pography
+%0A     
  compone
@@ -413,16 +413,54 @@
 nent=%22p%22
+%0A      internalDeprecatedVariant%0A     
  variant
@@ -472,16 +472,22 @@
 heading%22
+%0A     
  color=%22
@@ -500,16 +500,22 @@
 condary%22
+%0A     
  %7B...pro
@@ -521,11 +521,19 @@
 ops%7D
- /%3E
+%0A    /%3E%0A  )
 ;%0A%7D%0A

Fix typography deprecation warning with useNextVariants (#13148)