@kode-frontend/react-native-push-notification
Version:
Push notification service for React Native apps
12 lines (9 loc) • 308 B
text/typescript
import { FirebaseMessagingTypes } from '@react-native-firebase/messaging'
export type TPushNotificationBody<T = Record<string, any>> = {
id?: string
title?: string
body?: string
data?: T
}
export type TFirebaseRemoteMessage = FirebaseMessagingTypes.RemoteMessage &
Partial<TPushNotificationBody>