Socket
Socket
Sign inDemoInstall

react-native-tags-package

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-tags-package

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


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
5.59 kB
Created
Weekly downloads
 

Readme

Source

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
KeyTypeDefaultValue
nameStringtagany string
colorStringwhitereact native color formats
backgroundColorStringblackreact native color formats
borderRadiusNumber0intergers
TagX
KeyTypeDefaultValue
nameStringtagvalid strings
iconStringclose-circleicon name
colorStringwhitereact native color formats
backgroundColorStringblackreact native color formats
borderRadiusNumber0intergers
onPressFunction()=>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

Keywords

FAQs

Last updated on 30 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc