Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing required props warning for <Presence /> #36

Open
khang-nd opened this issue Feb 16, 2024 · 0 comments
Open

Missing required props warning for <Presence /> #36

khang-nd opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@khang-nd
Copy link

interface MotionProps {
name?: string
exitBeforeEnter: boolean
initial: boolean
}

I suppose exitBeforeEnter and initial should be declared optional to suppress this warning and align with the docs.

@YeSuX YeSuX self-assigned this Mar 25, 2024
@YeSuX YeSuX added bug Something isn't working documentation Improvements or additions to documentation labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants