react-native-toolbar-component

0.0.1 • Public • Published

React Native ToolbarComponent

Pull request are welcomed. Please follow the Airbnb style guide Airbnb JavaScript

Try it with Exponent

Preview

Installation

yarn

yarn add react-native-toolbar-component

npm

npm install --save react-native-toolbar-component

Basic Usage

import { Text } from 'react-native';
import ToolbarComponent from 'react-native-toolbar-component';
<ToolbarComponent
  leftItem={{
    title: 'Left',
    layout: 'title',
    onPress: () => {
      console.log('pressed');
    },
  }}
  righttem={{
    title: 'Right',
    layout: 'title',
    onPress: () => {
      console.log('pressed');
    },
  }}
>
  <Text>
    Title
  </Text>
</ToolbarComponent>

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-toolbar-component

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jacklam