2

Recently Material UI has developed 'Alert' component.

Everything is fine, excpet he fact that I don't see a way to change the icon size.

This is my code:

<Snackbar open={true}>
  <Alert
    className={classes.cookieAlert}
    severity="info"
    action={<Button color="inherit" size="small">OK</Button>}
  >
    We use cookies to ensure you the best experience on our website.
  </Alert>
</Snackbar>

And the icon is defined by 'severity', how do I change the size of that? I don't want to override the icon, just change its size to bigger.

4

1 に答える 1