The types of elements that can be returned from the react test renderer.
GenericTarget
null
boolean
string
number
undefined
true
false
React.ReactElement
ShallowTarget[]
Generated using TypeDoc
The types of elements that can be returned from the react test renderer.
GenericTargetis a string, null, or boolean.nullis a placeholder for a component that doesn't render anything.booleanis a placeholder for a component that renders a boolean.stringis a placeholder for a component that renders a string.numberis a placeholder for a component that renders a number.undefinedis a placeholder for a component that renders undefined.nullis a placeholder for a component that renders null.trueis a placeholder for a component that renders true.falseis a placeholder for a component that renders false.React.ReactElementis a placeholder for a component that renders a React element.ShallowTarget[]is a placeholder for a component that renders an array of shallow targets.