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

ToolCard.tsx ➔ ToolCard   A

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 7
c 0
b 0
f 0
rs 10
cc 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
}