@shopgate/engage
Version:
Shopgate's ENGAGE library.
23 lines (22 loc) • 577 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Link } from '@shopgate/engage/components';
import { link } from "./TextLink.style";
/**
* The TextLink component
* @param {Object} props The component props
* @returns {JSX.Element}
*/
import { jsx as _jsx } from "react/jsx-runtime";
const TextLink = props => /*#__PURE__*/_jsx(Link, {
...props,
className: classNames(props.className, link),
tag: "a",
role: "link",
tabIndex: 0
});
TextLink.defaultProps = {
className: null
};
export default TextLink;