@gannochenko/ui.styled-components
Version:
<!-- PROJECT SHIELDS --> <!-- *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, co
10 lines • 379 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPropBlocker = void 0;
var getPropBlocker = function (customProps) { return ({
shouldForwardProp: function (prop) {
return customProps ? customProps && !(prop in customProps) : true;
},
}); };
exports.getPropBlocker = getPropBlocker;
//# sourceMappingURL=getPropBlocker.js.map