breact-wrap
Wrapper utility for breact
Installation
$ npm install breact-wrap --save
Usage
'use strict' const React = const combine = Component /* ... */ // Combine wrappersconst WrappedComponent01 = Component01
Functions
Available functions
Signature | Description |
---|---|
combine(wrappers) -> function |
Combine multiple wrappers into one |
cycle() -> Promise |
Do with cycle |
prefixOf(component) -> string |
Get prefix of wrapped component |
scoped() -> Scoped |
License
This software is released under the MIT License.