@trycourier/courier-react-native
Version:
Inbox, Push Notifications, and Preferences for React Native
18 lines (17 loc) • 575 B
JavaScript
import { CourierPreferencesView } from "@trycourier/courier-react-native";
import React from "react";
import { StyleSheet, View } from "react-native";
const PreferencesDefault = () => {
const styles = StyleSheet.create({
container: {
flex: 1,
},
box: {
width: '100%',
height: '100%',
},
});
return (React.createElement(View, { style: styles.container },
React.createElement(CourierPreferencesView, { mode: { type: 'topic' }, style: styles.box })));
};
export default PreferencesDefault;