Notification
January 16, 2023 ยท View on GitHub
Notification component can be used to enhance the user experience with charming animation when message arrive.
๐ฌ Preview
| Notification |
|---|
![]() |
Default Usage
import React from 'react';
import { View, StyleSheet } from 'react-native';
import { Notification } from 'react-native-skia-catalog';
const NotificationScreen = () => (
<View style={styles.container}>
<Notification />
</View>
);
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
});
export default NotificationScreen;
Custom Usage
import React from 'react';
import { View, StyleSheet } from 'react-native';
import { Notification } from 'react-native-skia-catalog';
const NotificationScreen = () => (
<View style={styles.container}>
<Notification notificationCount={15} color={'#F84F31'} size={220} />
</View>
);
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
});
export default NotificationScreen;
๐ฌ Custom Usage Preview

Properties
| Props | Default | Type | Description |
|---|---|---|---|
| size | 150 | number | Size of Image. |
| color | #23C552 | string | Color of the notification counter-ball and the animated lines. |
| notificationCount | 1 | number | Number of notification. If notification number in double digit, the notification number no would be displayed as 9+. |
