Skip to content

Commit eb12cb5

Browse files
author
Michael Ledin
committed
0.16.0-rc2 - Snackbar contentStyle - mui/material-ui#5205
1 parent b75db76 commit eb12cb5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

material-ui/material-ui-tests.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3640,6 +3640,7 @@ class SnackbarExampleSimple extends React.Component<{}, {open?: boolean}> {
36403640
message="Event added to your calendar"
36413641
autoHideDuration={4000}
36423642
onRequestClose={this.handleRequestClose}
3643+
contentStyle={{margin: 16}}
36433644
/>
36443645
</div>
36453646
);

material-ui/material-ui.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,6 +1404,7 @@ declare namespace __MaterialUI {
14041404
autoHideDuration?: number;
14051405
bodyStyle?: React.CSSProperties;
14061406
className?: string;
1407+
contentStyle?: React.CSSProperties;
14071408
message: React.ReactNode;
14081409
onActionTouchTap?: React.TouchEventHandler;
14091410
onRequestClose: (reason: string) => void;

0 commit comments

Comments
 (0)