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 / SocialIconList / SocialIconList.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 fixture_1 = require("./fixture");

const renderProps_1 = require("./renderProps");

class SocialIconList extends react_1.default.PureComponent {
  render() {
    const _a = this.props,
          {
      renderIconList,
      renderWrapper
    } = _a,
          remainingProps = tslib_1.__rest(_a, ["renderIconList", "renderWrapper"]);

    const children = renderIconList(remainingProps);
    const view = renderWrapper(Object.assign({}, remainingProps, {
      children
    }));
    return view;
  }

}

SocialIconList.defaultProps = {
  className: '',
  iconsList: fixture_1.SocialIconData,
  renderIconWrapper: renderProps_1.defaultRenderIconWrapper,
  renderIcon: renderProps_1.defaultRenderIcon,
  renderIconList: renderProps_1.defaultRenderIconList,
  renderWrapper: renderProps_1.defaultRenderWrapper
};
exports.SocialIconList = SocialIconList;
exports.default = SocialIconList; //# sourceMappingURL=SocialIconList.js.map