Skip to content

Icon: Support size prop for dashicons #43724

@mirka

Description

@mirka

What problem does this address?

The size prop does not work when the icon is a dashicon string.

What is your proposed solution?

Add some handling (either to the Dashicon or the Icon component) so it adds a font-size style equivalent to the size.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions