1.0.1 • Published 5 years ago

iwlpm-core v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

iwlpm-core

Cror feature for IWLPM product This core library project created with create-react-library

NPM JavaScript Style Guide

Clone the repo

git clone https://git.zone24x7.lk/IWLPM/frontend-core.git

Install node modules in the library environment

yarn install 

Install node modules in the example application

yarn install 

Start Development environment

yarn start 

Start Example application

yarn start 

Usage

import React from 'react'  
import 'iwlpm-core/dist/index.css'  
// @ts-ignore  
import {Core, CoreContext} from "iwlpm-core";  
import AvailablePages from "./AvilablePages";  
  
const App = () => {  
    return (<CoreContext.Provider value={{ conf:'MyConf', pages:AvailablePages}}>  
 <Core/> </CoreContext.Provider>)  
}  
  
export default App

License

MIT © cagline