<div style={{ position: 'relative' }}>
<Snackbar style={{ position: 'relative', marginBottom: 8 }} open variant="error" message="This is an error Message!" />
<Snackbar style={{ position: 'relative', marginBottom: 8 }} variant="warning" open message="This is an warning Message!" />
<Snackbar style={{ position: 'relative', marginBottom: 8 }} variant="info" open message="This is an info Message!" />
<Snackbar style={{ position: 'relative', marginBottom: 8 }} open message="This is an success Message!" />
</div>