Skip to content

feeed-net/react-native

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-constants expo-application

Usage 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-info

Please 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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors