RenderOutput: GenericTarget | RenderData | RenderOutput[]

The types of elements that can be returned from the react test renderer.

  • GenericTarget is a string, null, or boolean.
    • null is a placeholder for a component that doesn't render anything.
    • boolean is a placeholder for a component that renders a boolean.
    • string is a placeholder for a component that renders a string.
    • number is a placeholder for a component that renders a number.
    • undefined is a placeholder for a component that renders undefined.
    • null is a placeholder for a component that renders null.
    • true is a placeholder for a component that renders true.
    • false is a placeholder for a component that renders false.
  • React.ReactElement is a placeholder for a component that renders a React element.
  • ShallowTarget[] is a placeholder for a component that renders an array of shallow targets.

Generated using TypeDoc