UNPKG

466 BJavaScriptView Raw
1import { __rest } from "tslib";
2import * as React from 'react';
3export const LoginFooterItem = (_a) => {
4 var { children = null, href = '#', target = '_blank' } = _a, props = __rest(_a, ["children", "href", "target"]);
5 return React.isValidElement(children) ? (children) : (React.createElement("a", Object.assign({ target: target, href: href }, props), children));
6};
7LoginFooterItem.displayName = 'LoginFooterItem';
8//# sourceMappingURL=LoginFooterItem.js.map
\No newline at end of file