testutils

package
v0.0.0-...-389821e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

README

** myitcv.io/react/testutils ** has moved

The repository hosting myitcv.io/react/testutils has changed.

myitcv.io/react/testutils can now be found at:

https://github.com/myitcv/x/tree/master/react/testutils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindRenderedDOMComponentWithClass

func FindRenderedDOMComponentWithClass(elem react.Element, class string) dom.HTMLElement

func RenderIntoDocument

func RenderIntoDocument(elem react.Element) *core.ElementHolder

Types

type WrapperDef

type WrapperDef struct {
	react.ComponentDef
}

WrapperDef is the definition of the Wrapper component

func (WrapperDef) Render

func (h WrapperDef) Render() react.Element

Render renders the Wrapper component

func (WrapperDef) RendersElement

func (w WrapperDef) RendersElement() react.Element

type WrapperElem

type WrapperElem struct {
	react.Element
}

func Wrapper

func Wrapper(children ...react.Element) *WrapperElem

Wrapper creates instances of the Wrapper component

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL