Skip to content

Conversation

@jr-k
Copy link

@jr-k jr-k commented Nov 28, 2025

What this PR does

This PR adds a new mainContainerStyle prop to the main component. Until now, it was not possible to apply custom styles to the wrapper since it was fully controlled internally. By exposing this prop, consumers can now override or extend the wrapper's styles and apply absolute positioning or any other layout adjustment when needed.

Why

I needed to apply absolute positioning to the top-level wrapper but there was no way to customize it. Adding this prop keeps the existing default behavior while allowing more flexibility for advanced layout cases.

How

  • Added the mainContainerStyle prop
  • Passed it directly to the ReanimatedDrawerLayout element
  • Ensured it merges cleanly with the component's default styling

Added mainContainerStyle prop to customize the main component's style.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant