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 styled_1 = require("./styled");
function defaultRenderChildren(props) {
const {
content
} = props;
return react_1.default.createElement(styled_1.BlinkElement, null, content);
}
exports.defaultRenderChildren = defaultRenderChildren;
function defaultRenderWrapper(props, state) {
const {
className,
children
} = props,
remainingProps = tslib_1.__rest(props, ["className", "children"]);
return react_1.default.createElement(styled_1.BlinkWrapper, {
className: className,
shouldBlink: state.isVisible
}, children);
}
exports.defaultRenderWrapper = defaultRenderWrapper; //# sourceMappingURL=renderProps.js.map