react-native-arm-dropdown
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "react-native-arm-dropdown", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "DropDown for React-Native", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/AmurKhoyetsyan/React-Native-DropDown.git" | ||
"url": "git+https://github.com/AmurKhoyetsyan/React-Native-Arm-DropDown.git" | ||
}, | ||
@@ -23,5 +23,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/AmurKhoyetsyan/React-Native-DropDown/issues" | ||
"url": "https://github.com/AmurKhoyetsyan/React-Native-Arm-DropDown/issues" | ||
}, | ||
"homepage": "https://github.com/AmurKhoyetsyan/React-Native-DropDown#readme" | ||
"homepage": "https://github.com/AmurKhoyetsyan/React-Native-Arm-DropDown#readme" | ||
} |
## React-Native-Arm-DropDown | ||
<img src="https://github.com/AmurKhoyetsyan/React-Native-DropDown/blob/master/src/gif/dropdown.gif" /> | ||
<img src="https://raw.githubusercontent.com/AmurKhoyetsyan/React-Native-DropDown/master/src/gif/dropdown.gif" /> | ||
@@ -11,5 +11,13 @@ #### install React-Native-Arm-DropDown | ||
#### Props | ||
| Props | Value | | ||
| ---------------- | ---------------| | ||
| title | String | | ||
| id | Number | | ||
| items | Array | | ||
#### Example | ||
import DropDown from 'react-native-dropdown'; | ||
import DropDown from 'react-native-arm-dropdown'; | ||
@@ -44,2 +52,2 @@ let data = { | ||
}} | ||
/> | ||
/> |
@@ -131,2 +131,3 @@ import React, { Component } from 'react'; | ||
droped={droped} | ||
text={[styles.fontWeightBold]} | ||
onChange={(idItem, drop)=>{ | ||
@@ -133,0 +134,0 @@ this.onChangeItem(idItem, drop); |
@@ -44,2 +44,6 @@ import { StyleSheet } from 'react-native'; | ||
fontWeightBold: { | ||
fontWeight: 'bold' | ||
}, | ||
caret: { | ||
@@ -46,0 +50,0 @@ width: 5, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11851
259
52