Passed
Push — main ( ef757f...394b21 )
by Andrii
03:47
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
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
}