@barteh/core
v1.0.62
Published
a common library for barteh based projects
Downloads
94
Readme
Barteh Core
common component and libraries used for barteh based projects
Feature list
a. common services
- geo.
- orgchart.
- unit.
- useraction.
b. react components
- withTitle.
- error.
- user.
- 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)