Skip to content

[material-ui][Alert] iconMapping should also support variant #46910

@alexismo

Description

@alexismo

The problem in depth

I already submitted an issue on Material-UI about this: #46857

Your environment

`npx @mui/envinfo`
  System:
    OS: macOS 15.6.1
  Binaries:
    Node: 20.19.2 - ~/.nvm/versions/node/v20.19.2/bin/node
    npm: 10.8.2 - ~/.nvm/versions/node/v20.19.2/bin/npm
    pnpm: 8.15.7 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 140.0.7339.81
    Edge: 140.0.3485.54
    Safari: 18.6
  npmPackages:
    @emotion/react:  11.14.0 
    @emotion/styled:  11.14.1 
    @mui/core-downloads-tracker:  6.5.0 
    @mui/material:  6.5.0 
    @mui/private-theming:  7.3.1 
    @mui/styled-engine:  7.3.1 
    @mui/system:  7.3.1 
    @mui/types:  7.2.24 
    @mui/utils:  6.4.9 
    @mui/x-date-pickers:  7.29.4 
    @mui/x-date-pickers-pro:  7.29.4 
    @mui/x-internals:  7.29.0 
    @mui/x-license:  7.29.1 
    @types/react:  19.1.10 
    react: ^18.3.1 => 18.3.1 
    react-dom: ^18.3.1 => 18.3.1 
    typescript:  5.5.4

Search keywords: alert, icon, iconMapping, variant

Search keywords:

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists.scope: alertChanges related to the alert.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions