antiaris-component

2.2.0 • Public • Published

antiaris-component

NPM version Downloads Build Status Dependency status Dev Dependency status

继承 React.Component,支持静态资源收集。

import AntiarisComponent from 'antiaris-component';
 
class BaseCompnent extends AntiarisComponent{
    constructor(props, displayName) {
        super(props, 'app', displayName)
    }
}
 
class CustomCompnent extends BaseCompnent{
    constructor(props) {
        super(props, 'custom');
    }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.2.0
    1
  • 2.1.0
    0
  • 2.0.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i antiaris-component

Weekly Downloads

0

Version

2.2.0

License

MIT

Last publish

Collaborators

  • yinyongcom666