1.0.1 • Published 5 years ago
iwlpm-core v1.0.1
iwlpm-core
Cror feature for IWLPM product This core library project created with create-react-library
Clone the repo
git clone https://git.zone24x7.lk/IWLPM/frontend-core.gitInstall 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 AppLicense
MIT © cagline