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');
        }
    }

    Install

    npm i antiaris-component

    DownloadsWeekly Downloads

    2

    Version

    2.2.0

    License

    MIT

    Last publish

    Collaborators

    • yinyongcom666