Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcharlebois committed Feb 5, 2021
1 parent 4f76650 commit a9aee7b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![image-20201211141125984](README.assets/image-20201211141125984.png)
![image-20201211141125984](https://raw.githubusercontent.com/cdcharlebois/snackbar-native/main/README.assets/image-20201211141125984.png)

# Snackbar-Native

Expand All @@ -8,22 +8,24 @@ Implementation of https://www.npmjs.com/package/react-native-snackbar for Mendix

Show ephemeral, passive notifications in your Mendix native app

* Show message with text
* Show message with text and action
* Configure the duration of the snackbar message
- Show message with text
- Show message with text and action
- Configure the duration of the snackbar message

### Installation

> ⚠️ Usage of these javascript actions depends on the successful installation of the `react-native-snackbar` module in your native project folder. see [the docs](https://docs.mendix.com/howto/mobile/native-build-locally#adding-dependencies) for more details.
Follow instructions [here](https://www.npmjs.com/package/react-native-snackbar#installation) to install the Native package in your Native Project Directory

### Implementation

Use the included javascript actions in your nanoflows as needed

![image-20201211141406960](README.assets/image-20201211141406960.png)
![image-20201211141406960](https://github.com/cdcharlebois/snackbar-native/raw/main/README.assets/image-20201211141406960.png)

![image-20201211151951636](README.assets/image-20201211151951636.png)
![image-20201211151951636](https://github.com/cdcharlebois/snackbar-native/raw/main/README.assets/image-20201211151951636.png)

### TODO

- [ ] Expose JS actions as nanoflow activities
- [ ] Expose JS actions as nanoflow activities

0 comments on commit a9aee7b

Please sign in to comment.