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 / components / molecules / Telephone / renderProps.js
Size: Mime:
"use strict";

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

const tslib_1 = require("tslib");

const react_1 = tslib_1.__importDefault(require("react"));

const MaterialIcon_1 = require("../../atoms/MaterialIcon");

const styled_1 = require("./styled");

function renderIcon(props) {
  return props.shouldUseIcon && react_1.default.createElement(MaterialIcon_1.MaterialIcon, {
    type: "call",
    key: "telephoneicon"
  });
}

exports.renderIcon = renderIcon;

function renderValue(props) {
  return react_1.default.createElement(styled_1.StyledTelephoneValue, Object.assign({}, props));
}

exports.renderValue = renderValue; //# sourceMappingURL=renderProps.js.map