Passed
Push — main ( 394b21...fd6a98 )
by Andrii
02:09
created

__examples__/node_modules-third_party_component.tsx   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 18
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A node_modules-third_party_component.tsx ➔ ThirdParty 0 11 1
1
import React from "react"
2
3
export type ThirdPartyProps = {
4
  containerClassName?: string
5
  itemClassName?: string
6
}
7
8
export default function ThirdParty({
9
  containerClassName = "third-container",
10
  itemClassName = "third-item"
11
}: ThirdPartyProps) {
12
  return <>
13
    { "/// node_modules/third_party_component" }
14
    <div className={containerClassName}>
15
      <div className={itemClassName}>third-item</div>
16
    </div>
17
  </>
18
}