Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StatelessRenderer<P>

Stateless Renderer.

template

P type of any renderer props

Type parameters

  • P: RendererProps

Hierarchy

  • FunctionComponent<P>
    • StatelessRenderer

Callable

  • __call(props: PropsWithChildren<P>, context?: any): ReactElement<any, any> | null
  • Stateless Renderer.

    Parameters

    • props: PropsWithChildren<P>
    • Optional context: any

    Returns ReactElement<any, any> | null

Index

Properties

Optional contextTypes

contextTypes: ValidationMap<any>

Optional defaultProps

defaultProps: Partial<P>

Optional displayName

displayName: string

Optional propTypes

propTypes: WeakValidationMap<P>

Generated using TypeDoc