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

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

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

reference-data-selector React component

latest
Source
npmnpm
Version
0.2.13
Version published
Maintainers
3
Created
Source

reference-data-selector

Typeahead field to look up reference data.

Specify the ref type to look up a reference data group.

For example to look up countries from the country data group, pass in the type of country

<ReferenceDataSelector
    type="country"
    ...

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-selector --save

Use in your project

import ReferenceDataSelector from '@react-ag-components/reference-data-selector'
<ReferenceDataSelector
  id="country-selector"
  label="Country you wish to export to"
  placeholder="Select country"
  type="country"
  onChange={this.onChange('country')}
  value={this.state.country}
/>

Properties

Contributing

Get the repository

git clone https://github.com/alphillips/reference-data-selector.git

Update dependencies

npm install

Run the project

npm start

Deploy to npm

Build

npm run build -- --copy-files

Publish

npm publish --access public

Keywords

react-component

FAQs

Package last updated on 28 Sep 2018

Did you know?

Socket

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