Skip to content

Navbar custom wrapper proposal #1462

Closed
Closed
@almirfilho

Description

@almirfilho

Hello,

I think it would be nice to have a way to wrap the default navbar contents with a custom component.
Currently I'd like to use the blur features of react-native-blur to have nicely blurred navbars (like iOS' system apps).

The thing is, it's not a style issue that we can resolve just with navigationBarStyle prop configuration, in that case I need to use a custom View component (<BlurView>) to wrap the navbar contents.

Looking at the NavBar render() method, the same thing already happens if the prop navigationBarBackgroundImage is set: the navbar contents are wrapped by an Image component.

So, I'd like to include a navigationBarWrapper prop (React.Component type) to do this with a custom component.

What do you guys think about this?

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