Passed
Push — main ( c7f79a...9585c1 )
by LCS
02:57
created

src/components/ToolCard.tsx   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 13
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 10
mnd 0
bc 0
fnc 2
dl 0
loc 13
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A ToolCard.tsx ➔ ToolCard 0 7 1
1
type Props = {
2
  name: string;
3
  content: JSX.Element;
4
};
5
6
export default function ToolCard({ name, content }: Props) {
7
  return (
8
    <div className="tool-card">
9
      <h2>{name}</h2>
10
      {content}
11
    </div>
12
  );
13
}