Skip to content

Commit

Permalink
[Theme][material] Add missing styleOverrides type for theme MuiStack (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai authored Jul 27, 2023
1 parent 83a876d commit 8f06a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/mui-material/src/styles/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ export interface Components<Theme = unknown> {
};
MuiStack?: {
defaultProps?: ComponentsProps['MuiStack'];
styleOverrides?: ComponentsOverrides<Theme>['MuiStack'];
variants?: ComponentsVariants['MuiStack'];
};
MuiStep?: {
Expand Down
2 changes: 2 additions & 0 deletions packages/mui-material/src/styles/overrides.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ import { SnackbarContentClassKey } from '../SnackbarContent';
import { SpeedDialClassKey } from '../SpeedDial';
import { SpeedDialActionClassKey } from '../SpeedDialAction';
import { SpeedDialIconClassKey } from '../SpeedDialIcon';
import { StackClassKey } from '../Stack';
import { StepButtonClasskey } from '../StepButton';
import { StepClasskey } from '../Step';
import { StepConnectorClasskey } from '../StepConnector';
Expand Down Expand Up @@ -225,6 +226,7 @@ export interface ComponentNameToClassKey {
MuiSpeedDial: SpeedDialClassKey;
MuiSpeedDialAction: SpeedDialActionClassKey;
MuiSpeedDialIcon: SpeedDialIconClassKey;
MuiStack: StackClassKey;
MuiStep: StepClasskey;
MuiStepButton: StepButtonClasskey;
MuiStepConnector: StepConnectorClasskey;
Expand Down

0 comments on commit 8f06a1e

Please sign in to comment.