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    
@skava/ui / dist / inputs / TextBox / deps / toValidationProps.js
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const toClassList_1 = require("./toClassList");

function toValidationProps(props, state) {
  const classList = toClassList_1.toClassList(props, state);
  const {
    customAttributes
  } = props;
  const maxLength = props.maxLength || state.maxLength;
  return Object.assign({
    className: classList.input,
    maxLength
  }, customAttributes);
}

exports.toValidationProps = toValidationProps; //# sourceMappingURL=toValidationProps.js.map