https://github.com/barteh/core
core features for barteh based projects
https://github.com/barteh/core
barteh
Last synced: about 1 year ago
JSON representation
core features for barteh based projects
- Host: GitHub
- URL: https://github.com/barteh/core
- Owner: barteh
- License: gpl-2.0
- Created: 2018-07-24T15:28:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:37:38.000Z (over 3 years ago)
- Last Synced: 2025-04-18T23:59:10.666Z (about 1 year ago)
- Topics: barteh
- Language: JavaScript
- Size: 622 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Barteh Core
[](https://travis-ci.org/barteh/core)
## 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](#withTitle).
2. error.
3. user.
4. withMessage.
# withTitle
adds title bar to on a component. use it for main forms and pages.
### example:
```js
import React, { Component } from 'react';
import Home from '@material-ui/icons/Home';
class README extends Component {
render() {
return (
);
}
}
export default README;
withTitle({
title:"page title",
subTitle:"page SubTitle",
description:"page description",
icon:
})(README)
```