Skip to content

Syntax Correction #101

@ankit9984

Description

@ankit9984

I noticed something in the Playground section of the documentation for . The example currently shows:

<ToastContainer ... transition: Bounce, />

React-Toastify is a React library, I think it would be better to use JSX syntax like this
<ToastContainer ... transition={Bounce} />

Using curly braces ({}) for the transition prop follows JSX conventions and avoids any errors when passing JavaScript values.

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