Hierarchy

  • PureComponent<ImageProps>
    • ImagePreview

Constructors

  • Parameters

    • props: ImageProps

    Returns ImagePreview

  • Parameters

    • props: ImageProps
    • context: any

    Returns ImagePreview

    React Docs

Accessors

downloading
loadedPath
viewing

Methods

  • Called immediately after a component is mounted. Setting state here will trigger re-rendering.

    Returns void

  • Called immediately after updating occurs. Not called for the initial render.

    The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

    Parameters

    Returns void