myitcv.io: myitcv.io/react/testutils Index | Files

package testutils

import "myitcv.io/react/testutils"

Index

Package Files

gen_Wrapper_reactGen.go testutils.go wrapper.go

func FindRenderedDOMComponentWithClass Uses

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

func RenderIntoDocument Uses

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

type WrapperDef Uses

type WrapperDef struct {
    react.ComponentDef
}

WrapperDef is the definition of the Wrapper component

func (WrapperDef) Render Uses

func (h WrapperDef) Render() react.Element

Render renders the Wrapper component

func (WrapperDef) RendersElement Uses

func (w WrapperDef) RendersElement() react.Element

type WrapperElem Uses

type WrapperElem struct {
    react.Element
}

func Wrapper Uses

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

Wrapper creates instances of the Wrapper component

Package testutils imports 6 packages (graph). Updated 2018-08-07. Refresh now. Tools for package owners.