Repository URL to install this package:
|
Version:
2.7.3 ▾
|
"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