react-native-tags-package

1.0.1 • Public • Published

React Native Tags Package

A complete package for all types of tags for react native apps

LICENSE MIT

NPM

Getting Started

Installation

npm i react-native-tags-package --save

Usage

App.js
import React from 'react';
import { View } from 'react-native';

import { Tag, TagX } from './index';

const App = () => 
  <View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
    <Tag />
    <TagX />
  </View>

export default App;

Props

Tag
Key Type Default Value
name String tag any string
color String white react native color formats
backgroundColor String black react native color formats
borderRadius Number 0 intergers
TagX
Key Type Default Value
name String tag valid strings
icon String close-circle icon name
color String white react native color formats
backgroundColor String black react native color formats
borderRadius Number 0 intergers
onPress Function ()=>alert('Tag Pressed') valid functions

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License

Package Sidebar

Install

npm i react-native-tags-package

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

5.72 kB

Total Files

5

Last publish

Collaborators

  • thakurballary