Skip to content

Commit b75db76

Browse files
author
Michael Ledin
committed
0.16.0-rc2 - Switch thumbSwitchedStyle and trackSwitchedStyle - mui/material-ui#5106
1 parent 659c4aa commit b75db76

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

material-ui/material-ui-tests.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,6 +3599,8 @@ const ToggleExampleSimple = () => (
35993599
label="Label on the right"
36003600
labelPosition="right"
36013601
style={styles.toggle}
3602+
thumbTwitchedStyle={styles.toggle}
3603+
trackTwitchedStyle={styles.toggle}
36023604
/>
36033605
</div>
36043606
);

material-ui/material-ui.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,8 @@ declare namespace __MaterialUI {
13871387
rippleStyle?: React.CSSProperties;
13881388
style?: React.CSSProperties;
13891389
thumbStyle?: React.CSSProperties;
1390+
thumbSwitchedStyle?: React.CSSProperties;
1391+
trackSwitchedStyle?: React.CSSProperties;
13901392
toggled?: boolean;
13911393
trackStyle?: React.CSSProperties;
13921394
valueLink?: ReactLink<boolean>;

0 commit comments

Comments
 (0)