Skip to content

Reflect "name" attribute as it's a useful target for custom styling #975

@mattsteve

Description

@mattsteve

Need the name attribute to be reflected in the DOM as it's useful for targeting styling based on which icon is displayed.
https://github.com/ionic-team/ionicons/blob/master/src/components/icon/icon.tsx#L58

Previous discussion here:
ionic-team/ionic-framework#23323 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions