Skip to content

rodrigorbrg/my-ui-components

Repository files navigation

@rodrigorbrg/my-ui-components

React Native widget component for feedbacks

Debug Example

  • yarn example start: start the Metro server for the example app.
  • yarn example android: run the example app on Android.
  • yarn example ios: run the example app on iOS.

Installation

npm install @rodrigorbrg/my-ui-components react-native-gesture-handler react-native-reanimated react-native-view-shot

Add on babel.config.js

module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: ['react-native-reanimated/plugin'],
};

Usage

import { FeedbackWidget } from '@rodrigorbrg/my-ui-components';

// ...

return <FeedbackWidget />;
import { ThemeProvider, Theme } from '@rodrigorbrg/my-ui-components';

// ...

return (
  <ThemeProvider theme={theme}>
    <Navigator />
  </ThemeProvider>
);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT