Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a native component, such as those returned from requireNativeComponent.

see

https://github.com/facebook/react-native/blob/v0.62.0-rc.5/Libraries/Renderer/shims/ReactNativeTypes.js

todo

This should eventually be defined as an AbstractComponent, but that should first be introduced in the React typings.

Type parameters

  • P

Hierarchy

Index

Constructors

  • Parameters

    • props: P
    • Optional context: any

    Returns Component<P, {}, any> & Readonly<NativeMethods>

Properties

childContextTypes?: ValidationMap<any>
contextType?: Context<any>
contextTypes?: ValidationMap<any>
defaultProps?: Partial<P>
displayName?: string
getDerivedStateFromError?: GetDerivedStateFromError<P, any>
getDerivedStateFromProps?: GetDerivedStateFromProps<P, any>
propTypes?: WeakValidationMap<P>

Generated using TypeDoc