New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@react-ag-components/reference-data-text

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-ag-components/reference-data-text - npm Package Compare versions

Comparing version
0.0.1
to
0.0.2
+5
-2
package.json
{
"name": "@react-ag-components/reference-data-text",
"version": "0.0.1",
"version": "0.0.2",
"description": "reference-data-text React component",

@@ -35,3 +35,6 @@ "main": "lib/index.js",

"license": "MIT",
"repository": "",
"repository": {
"type" : "git",
"url" : "https://github.com/alphillips/reference-data-text.git"
},
"keywords": [

@@ -38,0 +41,0 @@ "react-component"

+50
-10
# reference-data-text
[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]
Displays the description or long value given a code from reference data.
Describe reference-data-text here.
For example `au` will be displayed as `Australia`
[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo
[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package
```
<ReferenceDataText type="countries" value="au"/>
```
[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo
> Note this only works if it deployed under the same domain as the reference data service.
> Or use a proxy.
## Usage
### Install
```
npm i @react-ag-components/reference-data-text --save
```
### Use in your project
```
import ReferenceDataText from '@react-ag-components/reference-data-text'
```
```
<ReferenceDataText type="countries" value="au"/>
```
### Properties
## Contributing
Get the repository
```
git clone https://github.com/alphillips/reference-data-text.git
```
Update dependencies
```
npm install
```
Run the project
```
npm start
```
### Deploy to npm
#### Build
`npm run build -- --copy-files`
#### Publish
`npm publish --access public`