MCPcopy
hub / github.com/emotion-js/emotion / withComponent

Method withComponent

packages/styled/types/base.d.ts:43–43  ·  view source on GitHub ↗
(
    component: C
  )

Source from the content-addressed store, hash-verified

41 extends React.FC<ComponentProps & SpecificComponentProps & JSXProps>,
42 ComponentSelector {
43 withComponent<C extends React.ComponentClass<React.ComponentProps<C>>>(
44 component: C
45 ): StyledComponent<
46 ComponentProps & PropsOf<C>,

Callers 8

tests.tsxFile · 0.65
tests-base.tsxFile · 0.65
index.test.jsFile · 0.65
styled.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected