From 1f459a8b3641e2a808abc7cbc031d06ccec60c5a Mon Sep 17 00:00:00 2001 From: ZeeshanTamboli Date: Tue, 20 Sep 2022 17:59:10 +0530 Subject: [PATCH] add typography fontFamily to step label container for optional text --- packages/mui-material/src/StepLabel/StepLabel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mui-material/src/StepLabel/StepLabel.js b/packages/mui-material/src/StepLabel/StepLabel.js index d3684e35dd2c6b..7ebdc6be60f7a1 100644 --- a/packages/mui-material/src/StepLabel/StepLabel.js +++ b/packages/mui-material/src/StepLabel/StepLabel.js @@ -111,6 +111,7 @@ const StepLabelLabelContainer = styled('span', { })(({ theme }) => ({ width: '100%', color: (theme.vars || theme).palette.text.secondary, + fontFamily: theme.typography.fontFamily, [`&.${stepLabelClasses.alternativeLabel}`]: { textAlign: 'center', },