Skip to content

Latest commit

Β 

History

History
71 lines (51 loc) Β· 2.81 KB

File metadata and controls

71 lines (51 loc) Β· 2.81 KB

BlueBase + React Native Paper

React Native Paper comes to BlueBase!


🎊 Status

MIT license npm version Build Status codecov Greenkeeper badge PRs Welcome Codacy Badge Known Vulnerabilities semantic-release

🀝 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