1.6.4 • Published 1 year ago

react-native-material-backdrop-modal v1.6.4

Weekly downloads
42
License
MIT
Repository
github
Last release
1 year ago

react-native-material-backdrop-modal

Material Design "Backdrop" component for Android and iOS.

Setup

  1. Install:

    • Using npm: npm install react-native-material-backdrop-modal --save
    • Using Yarn: yarn add react-native-material-backdrop-modal
  2. Import it in your JS:

    import Backdrop from 'react-native-material-backdrop-modal';

Usage

A backdrop appears behind all other surfaces in an app, displaying contextual and actionable content.

Backdrop

See Google's Material Design guidelines for more info about Backdrops and when to use them.

Check out the example app:

git clone https://github.com/brunohkbx/react-native-material-backdrop-modal
cd react-native-material-backdrop-modal/example
yarn
yarn start

Example

Props

propdefaulttypedescription
childrennodeContent of Backdrop
focusedtruebooleanSpecifies whether Backdrop should be focused
onFocusFunctionThe Handler that's emitted every time the user conceals the back layer.
titlestringThe Subheader title
iconelementIcon to be used on the Subheader
preseteaseInEaseOutobjectAnimation presets to pass into configureNext
titleStyle{}objectStyle for the subheader title
backdropStyle{}objectStyle for the backdrop
1.6.4

1 year ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago