UNPKG

@trycourier/courier-react-native

Version:

Inbox, Push Notifications, and Preferences for React Native

20 lines 908 B
import React from 'react'; import { ViewStyle } from 'react-native'; import { InboxAction } from '../models/InboxAction'; import { InboxMessage } from '../models/InboxMessage'; import { CourierInboxTheme } from '../models/CourierInboxTheme'; type CourierInboxViewProps = { canSwipePages?: boolean; theme?: { light?: CourierInboxTheme; dark?: CourierInboxTheme; }; onClickInboxMessageAtIndex?: (message: InboxMessage, index: number) => void; onLongPressInboxMessageAtIndex?: (message: InboxMessage, index: number) => void; onClickInboxActionForMessageAtIndex?: (action: InboxAction, message: InboxMessage, index: number) => void; onScrollInbox?: (offsetY: number, offsetX: number) => void; style?: ViewStyle; }; export declare const CourierInboxView: (props: CourierInboxViewProps) => React.JSX.Element; export {}; //# sourceMappingURL=CourierInboxView.d.ts.map