default-props.js 299 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 "use strict"; exports["default"] = function (defaultProps, props) { if (defaultProps) { for (var propName in defaultProps) { if (typeof props[propName] === "undefined") { props[propName] = defaultProps[propName]; } } } return props; }; exports.__esModule = true;