@feeed/react-native
v0.3.3
Published
A package
Readme
Feeed React Native Widget
Used to collect feedback from your users and send it to your Feeed dashboard.
Usage with Expo
Install following expo dependencies:
expo install @feeed/react-native react-native-gesture-handler react-native-reanimated react-native-safe-area-context expo-device expo-constantsUsage with React Native
Install following dependencies:
yarn add @feeed/react-native react-native-gesture-handler react-native-reanimated react-native-safe-area-context react-native-device-infoPlease follow the official documentation of those libraries on how to link them correctly.
Usage
import { FeedbackWidgetProvider, FeedbackWidget } from '@feeed/react-native';
import { SafeAreaProvider } from 'react-native-safe-area-context';
<SafeAreaProvider>
<FeedbackWidgetProvider>
/* Your app content */
<FeedbackWidget projectId="[projectId]" />
</FeedbackWidgetProvider>
</SafeAreaProvider>;
//open the widget from anywhere in your app
const { open } = useFeedback();License
MIT
Made with create-react-native-library
