React native in app notification

Sometimes you want to show something to users in your app with small notification. For example i use it to show information how many coins user earn in the game or any other helpful information about purchases. I tried to find small simple library on Typescript and did not find and decided to write and publish my own library.

Have a look on my Typescript component to show internal notifications for react native application. To add it to your project you can just run this command.

Then wrap your app or root component with Notification provider. It should be root container because my component uses react context to provide access to child components.

After that you can show notification from any of your components

I prefer to use SVG icons from expo because it library has a lot of them for any purposes.

Result you can see on this gif image

--

--

JS Developer from London, UK. Working with React, React Native and Typescript. My russian blog https://vexell.ru

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Viacheslav Volkov

JS Developer from London, UK. Working with React, React Native and Typescript. My russian blog https://vexell.ru