@barteh/core

a common library for barteh based projects

Usage no npm install needed!

<script type="module">
  import bartehCore from 'https://cdn.skypack.dev/@barteh/core';
</script>

README

Barteh Core

Build Status

common component and libraries used for barteh based projects

Feature list

a. common services

  1. geo.
  2. orgchart.
  3. unit.
  4. useraction.

b. react components

  1. withTitle.
  2. error.
  3. user.
  4. withMessage.

withTitle

adds title bar to on a component. use it for main forms and pages.

example:

import React, { Component } from 'react';
import Home from '@material-ui/icons/Home';

class README extends Component {
    render() {
        return (
            <div>
                
            </div>
        );
    }
}

export default README;

withTitle({
    title:"page title",
    subTitle:"page SubTitle",
    description:"page description",
    icon:<Home color="primary" style={{fontStyle:"36px"}}/>
})(README)