• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

react-ui-org / react-ui / 14831340595

05 May 2025 07:31AM UTC coverage: 77.116% (-13.2%) from 90.283%
14831340595

Pull #636

github

web-flow
Merge c233dddc7 into b73b8ec0f
Pull Request #636: Refactoring/miscellaneous jest to playwright

626 of 897 branches covered (69.79%)

Branch coverage included in aggregate %.

695 of 816 relevant lines covered (85.17%)

43.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/components/TextLink/TextLink.jsx
1
import PropTypes from 'prop-types';
2
import React from 'react';
3
import { withGlobalProps } from '../../providers/globalProps';
4
import { transferProps } from '../../helpers/transferProps';
5
import styles from './TextLink.module.scss';
6

7
export const TextLink = ({
2✔
8
  href,
9
  label,
10
  ...restProps
11
}) => (
12
  <a
×
13
    {...transferProps(restProps)}
14
    className={styles.root}
15
    href={href}
16
  >
17
    {label}
18
  </a>
19
);
20

21
TextLink.propTypes = {
2✔
22
  /**
23
   * Link's `href` attribute.
24
   */
25
  href: PropTypes.string.isRequired,
26
  /**
27
   * Link label.
28
   */
29
  label: PropTypes.string.isRequired,
30
};
31

32
export const LinkWithGlobalProps = withGlobalProps(TextLink, 'TextLink');
2✔
33

34
export default LinkWithGlobalProps;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc