All files mayre.min.js

100% Statements 11/11
92.86% Branches 13/14
100% Functions 2/2
100% Lines 1/1
1 2 324x    
"use strict";const{cloneElement}=require("react"),e=require("prop-types"),o=e=>{return e&&"[object Function]"==={}.toString.call(e)},t=module.exports=(e=>{const t=o(e.when)?e.when():e.when,n=o(e.of)?e.of(e.with):e.of,r=e.orWith||e.with,i=o(e.or)?e.or(r):e.or;return t?cloneElement(n,e.with):i&&cloneElement(i,r)});t.defaultProps={or:null,with:{}},t.propTypes={of:e.oneOfType([e.element,e.func]).isRequired,or:e.oneOfType([e.element,e.func]),orWith:e.object,when:e.oneOfType([e.bool,e.func]),with:e.object};
//# sourceMappingURL=mayre.min.js.map