Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Abstract the "Close X" button in a button component #354

@afercia

Description

@afercia

Explanation

We have a few different implementations of a "X" close button here and there. For example in the yoast component for the new Alert #349, and then on MyYoast see StyledCloseButtonTopRight in the Alert component there.

Since we're in the process of standardizing all the components, I'd like to propose to abstract this button in a reusable button component under Buttons instead of creating a local styled component each time.

Technical decisions

Feedback?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions