Skip to content

classNames not applied to icons #72

Open
@brunobely

Description

@brunobely

Looks like #62 addressed that, but I think because IconBase explicitly passes a className to the main <Svg> component then any other classNames passed to the icons never makes it to the UI:

className={`${name}-${weight}__svg-icon-phosphor`}

Maybe if instead it was

      className={`${name}-${weight}__svg-icon-phosphor ${props.className ?? ''}`}

or something similar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions