/plugin-react-native-paper

๐Ÿงป React Native Paper comes to BlueBase!

Primary LanguageTypeScriptApache License 2.0Apache-2.0

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