Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / dist / inputs / TextBox / deps / createGetFromPropsOrState.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const exotic_1 = require("exotic");
function createGetFromPropsOrState(instance) {
    return function getFromPropsOrState(key) {
        return exotic_1.hasOwnProp(instance.props, key) ? instance.props[key] : instance.state[key];
    };
}
exports.createGetFromPropsOrState = createGetFromPropsOrState;
//# sourceMappingURL=createGetFromPropsOrState.js.map