React-native-paper: How to change background modal to transparent, currently is backdrop?

Created on 28 Nov 2019  路  2Comments  路  Source: callstack/react-native-paper

Most helpful comment

An example for @jaulz response:

<Modal
   theme={{
     colors: {
       backdrop: 'transparent',
     },
   }}
  {...otherProps}
>
 {children}
</Modal>

All 2 comments

You can use a custom theme around the modal and adjust the backdrop within.

An example for @jaulz response:

<Modal
   theme={{
     colors: {
       backdrop: 'transparent',
     },
   }}
  {...otherProps}
>
 {children}
</Modal>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

scottybo picture scottybo  路  3Comments

ButuzGOL picture ButuzGOL  路  3Comments

knobandre picture knobandre  路  4Comments

zachariahtimothy picture zachariahtimothy  路  3Comments

ButuzGOL picture ButuzGOL  路  4Comments