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

atomicpages / pretty-checkbox-react / 10633918906

30 Aug 2024 01:53PM UTC coverage: 100.0%. Remained the same
10633918906

Pull #1156

github

web-flow
build(deps): bump micromatch from 4.0.4 to 4.0.8 in /docs

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.4...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #1156: build(deps): bump micromatch from 4.0.4 to 4.0.8 in /docs

67 of 67 branches covered (100.0%)

Branch coverage included in aggregate %.

172 of 172 relevant lines covered (100.0%)

9.99 hits per line

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

100.0
/src/components/state/State.tsx
1
import * as React from 'react';
4✔
2
import clsx from 'clsx';
4✔
3
import { PCRCheckboxRadioProps } from '../../typings/PCRCheckboxRadioProps';
4

5
type StateProps = React.HTMLAttributes<HTMLDivElement> & {
6
  color?: PCRCheckboxRadioProps['color'];
7
  icon?: React.ReactNode;
8
};
9

10
/**
11
 * A tiny component to abstract away pretty-checkbox "state" div.
12
 * Shared by all components.
13
 */
14
export const State: React.FC<StateProps> = ({
4✔
15
  color,
16
  icon,
17
  id,
18
  children,
19
  ...rest
20
}) => {
21
  return (
35✔
22
    <div className={clsx('state', color && `p-${color}`)} {...rest}>
36✔
23
      {icon}
24
      <label htmlFor={id}>{children}</label>
25
    </div>
26
  );
27
};
28

29
State.displayName = 'State';
4✔
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

© 2025 Coveralls, Inc