Skip to content

OptionsStatusBar typed incorrectly #7599

@ldabiralai

Description

@ldabiralai

🐛 Bug Report

OptionsStatusBar seems to be typed incorrectly. The docs state that passing animate will change the status bar animation setting, which it does. However, TypeScript complains stating that I should be passing animated instead, but doing so has no effect.

I believe this was introduced as part of: #6685

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

Pass animate: false to statusBar as defined in the docs when using TypeScript

Expected behavior

TypeScript should not complain and the functionality should work

Actual Behavior

TypeScript complains and the functionality works

Your Environment

  • React Native Navigation version: 7.26.0
  • React Native version: 0.68.1
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): n/a

Reproducible Demo

n/a

Are you willing to resolve this issue by submitting a Pull Request?

  • ✅   Yes, I have the time, and I know how to start.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions