Skip to content

Button shows red error when using loading prop #1

@kennethnnabuife

Description

@kennethnnabuife

When using the Button like this:

Finalizing...

the word loading becomes red in the editor and TypeScript shows an error.

This happens because the Button component does not yet know what loading means. The prop is mentioned in the documentation, but it is not yet handled in the Button code.

This is a beginner-friendly issue and a good first open-source contribution.

Where to work:

  • Package: @nogateui/button
  • File: src/Button.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions