Skip to content

You must be logged in to vote

👋 Hi! I was struggling with this too. The key here is to provide your own shadow view then you would have more control over the layout. For instance you can:

  1. Call setSize to change the size of the view from native
  2. Override measureContent

Here are helpful resources on getting started with shadow view:

Credits to Software Mansion team.

Here is a PR that you can use as a reference:

s77rt/react-native-date-picker#20

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@jdesgagne-onemedical

Answer selected by jdesgagne-onemedical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants