README
BlueBase + React Native Paper
React Native Paper comes to BlueBase!
🎊 Status
🤝 Compatibility
| 🌏 Web | 🖥 Electron | 📱 React Native |
|---|---|---|
| ❌ | ❌ | ✅ |
Docs
Installation
Install the plugin as a dependency in your project:
yarn add @bluebase/plugin-react-native-paper
The easiest way to add a new plugin is pass it as a prop to the BlueBaseApp component.
import { BlueBaseApp } from '@bluebase/core';
import Plugin from '@bluebase/plugin-react-native-paper';
export const App = () => (
<BlueBaseApp plugins={[Plugin]} />
);
Typically, in a large project you would be using BlueBase CLI. In your BlueBase project created by the CLI, add the plugin in the plugins field in your bluebase.ts file:
export default {
// ...other bluebase.ts properties
plugins: [
import('@bluebase/plugin-react-native-paper')
]
}
Components
This plugin registers following plugins in BlueBase:
- Button
- Divider
- TextInput