UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

21 lines (20 loc) 532 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = InlineLink; var _jsxRuntime = require("react/jsx-runtime"); function InlineLink({ className, children, ...rest }) { const hasNode = typeof children !== 'string'; const classes = ['dnb-anchor', hasNode ? 'dnb-anchor--was-node' : null, 'dnb-a', className].filter(Boolean).join(' '); return (0, _jsxRuntime.jsx)("a", { className: classes, ...rest, children: children }); } //# sourceMappingURL=InlineLink.js.map