Skip to content

Make Button ripple effect optional #3

Description

@Temzasse

Add a ripple prop that defaults to true.

The ripple effect is applied to the ButtonContent styled component so we could just make two components instead: normal ButtonContent and ButtonContentRipple.

Then we can just render one of them based on the ripple prop.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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