Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 894 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 894 Bytes

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)