@@ -36,12 +34,14 @@ DialogContentText.propTypes = {
* The content of the component.
*/
children: PropTypes.node,
+ /**
+ * Useful to extend the style applied to components.
+ */
+ classes: PropTypes.object.isRequired,
/**
* @ignore
*/
className: PropTypes.string,
};
-DialogContentText.contextTypes = {
- styleManager: customPropTypes.muiRequired,
-};
+export default withStyles(styleSheet)(DialogContentText);
diff --git a/src/Dialog/DialogContentText.spec.js b/src/Dialog/DialogContentText.spec.js
index aab5afd493d0bb..8469478fbefbab 100644
--- a/src/Dialog/DialogContentText.spec.js
+++ b/src/Dialog/DialogContentText.spec.js
@@ -10,7 +10,7 @@ describe('