Skip to content

Support for animated option #76

@samcodefish

Description

@samcodefish

Why it is needed?

The stock React Native StatusBar component has the animated prop to configure whether a status bar style or visibility change should be animated or not.

Without this option this package's SystemBars component can't be a complete like-for-like replacement for StatusBar (or expo-status-bar).

Would it be difficult for this configuration to be added?

Thanks for this library and all your work.

Possible implementation

No response

Code sample

// Suggested type update:
type SystemBarsProps = {
  style?: Style | { statusBar?: Style; navigationBar?: Style; animated?: boolean };
  hidden?: boolean | { statusBar?: boolean; navigationBar?: boolean; animated?: boolean };
};

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions