Skip to content

Bounce is not defined in documentation example — missing import causes runtime error. #106

@carefulcoder123

Description

@carefulcoder123

I noticed that in the official documentation and Playground examples, the ToastContainer is shown using:
< ToastContainer transition={Bounce} />

However, the required import for Bounce is missing:
"import { Bounce } from 'react-toastify'; "
This line is not shown

This causes a runtime error:
"Uncaught ReferenceError: Bounce is not defined"

Suggestion: Please add the missing import line to the docs:
import { Bounce } from 'react-toastify';
This would save many developers (especially beginners) from getting stuck on what seems like a syntax or runtime bug.

Thanks again! I’d be happy to open a pull request if needed.

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