react-mixins-decorator
TypeScript icon, indicating that this package has built-in type declarations

0.1.18 • Public • Published

NPM Package Build Status

React Mixins Decorator

用于实现在 react component class(es6风格) 使用 react mixins 特性的类装饰器

版本更新提示

  • 0.1.x

    组件被实现

安装

npm install react-mixins-decorator --save

使用

import { Component } from 'react';
import reactMixins from 'react-mixins-decorator';


@reactMixins([MixinTargetA, MixinTargetB, MixinTargetC, ....])
class TargetComponent extends Component {
    ....
}

Package Sidebar

Install

npm i react-mixins-decorator

Weekly Downloads

6

Version

0.1.18

License

MIT

Last publish

Collaborators

  • maolion