MCPcopy
hub / github.com/NervJS/nerv / ComponentClass

Interface ComponentClass

packages/nerv-create-class/src/index.ts:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18export interface ComponentClass<P, S> extends Mixin<P, S> {
19 propTypes?: {}
20 contextTypes?: {}
21 childContextTypes?: {}
22 defaultProps?: P
23 displayName?: string
24 new (props?: P, context?: any): Component<P, S>
25}
26
27export interface ComponentSpec<P, S> extends Mixin<P, S> {
28 [propertyName: string]: any

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected