1 | import _extends from "@babel/runtime/helpers/esm/extends";
|
2 | import * as React from 'react';
|
3 | import PropTypes from 'prop-types';
|
4 | import withStyles from '../styles/withStyles';
|
5 | import Typography from '../Typography';
|
6 | export const styles = {
|
7 |
|
8 | root: {
|
9 | marginBottom: 12
|
10 | }
|
11 | };
|
12 | const DialogContentText = React.forwardRef(function DialogContentText(props, ref) {
|
13 | return React.createElement(Typography, _extends({
|
14 | component: "p",
|
15 | variant: "body1",
|
16 | color: "textSecondary",
|
17 | ref: ref
|
18 | }, props));
|
19 | });
|
20 | process.env.NODE_ENV !== "production" ? DialogContentText.propTypes = {
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | |
27 |
|
28 |
|
29 | children: PropTypes.node,
|
30 |
|
31 | |
32 |
|
33 |
|
34 |
|
35 | classes: PropTypes.object
|
36 | } : void 0;
|
37 | export default withStyles(styles, {
|
38 | name: 'MuiDialogContentText'
|
39 | })(DialogContentText); |
\ | No newline at end of file |