ark-react-config

1.0.1 • Public • Published

ark-react-config

This a simple react library to read global variable values with in components

Generic badge

Install

npm install --save ark-react-config

Demo Link

Usage

import { ArkConfig } from 'ark-react-config'

class Example extends Component {
  readGlobalProp(){
    ArkConfig.get('obj.two.two');
  }
  render() {
    return <div> Component content here </div>
  }
}

License

MIT © https://github.com/immi5556

Readme

Keywords

none

Package Sidebar

Install

npm i ark-react-config

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

7.19 kB

Total Files

7

Last publish

Collaborators

  • jimmanuel