Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IComponentClass<TProps, TChildren>

Interface that defines constructor signature for components.

Type parameters

  • TProps

    Type defining properties that can be passed to the class-based component of this type. Default type is an empty object (no properties).

  • TChildren

    Type defining components, elements or other objects that can be used as children for the class-based component of this type. Default is any.

Hierarchy

  • IComponentClass

Index

Constructors

Methods

Constructors

constructor

  • new IComponentClass(props?: TProps): IComponent<TProps, TChildren>
  • Parameters

    • Optional props: TProps

    Returns IComponent<TProps, TChildren>

Methods

render

  • render(): any
  • Returns any

Generated using TypeDoc