@destini/react-locator
v2.0.3
Published
Destini locator install script for react applications
Keywords
Readme
@destini/react-locator
Destini locator install script for react applications
Install
npm install --save @destini/react-locatorUsage
import React, { Component } from 'react'
import MyComponent from '@destini/react-locator'
import '@destini/react-locator/dist/index.css'
//Any custom paramaters you pass through the component should be added to this variable in key : value pairs
const customParam = {
PROD: "UPC,UPC,etc",
MM: "Panel2"
}
class Example extends Component {
render() {
return <MyComponent data={customParam} />
}
}