immtodoapp

package
v0.0.0-...-5fef39c Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT, BSD-3-Clause Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryDef

type EntryDef struct {
	react.ComponentDef
}

func (EntryDef) Props

func (e EntryDef) Props() EntryProps

Props is an auto-generated proxy to the current props of Entry

func (EntryDef) Render

func (e EntryDef) Render() *react.LiElem

func (EntryDef) RendersElement

func (e EntryDef) RendersElement() react.Element

func (EntryDef) RendersLi

func (e EntryDef) RendersLi(*react.LiElem)

type EntryElem

type EntryElem struct {
	react.Element
}

func Entry

func Entry(s string) *EntryElem

func (*EntryElem) RendersLi

func (e *EntryElem) RendersLi(*react.LiElem)

type EntryProps

type EntryProps struct {
	Text string
}

func (EntryProps) EqualsIntf

func (e EntryProps) EqualsIntf(val react.Props) bool

func (EntryProps) IsProps

func (e EntryProps) IsProps()

IsProps is an auto-generated definition so that EntryProps implements the myitcv.io/react.Props interface.

type TodoAppDef

type TodoAppDef struct {
	react.ComponentDef
}

TodoAppDef is the definition fo the TodoApp component

func (TodoAppDef) GetInitialState

func (t TodoAppDef) GetInitialState() TodoAppState

func (TodoAppDef) GetInitialStateIntf

func (t TodoAppDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (TodoAppDef) Render

func (t TodoAppDef) Render() react.Element

Render renders the TodoApp component

func (TodoAppDef) RendersElement

func (t TodoAppDef) RendersElement() react.Element

func (TodoAppDef) SetState

func (t TodoAppDef) SetState(state TodoAppState)

SetState is an auto-generated proxy proxy to update the state for the TodoApp component. SetState does not immediately mutate t.State() but creates a pending state transition.

func (TodoAppDef) State

func (t TodoAppDef) State() TodoAppState

State is an auto-generated proxy to return the current state in use for the render of the TodoApp component

type TodoAppElem

type TodoAppElem struct {
	react.Element
}

func TodoApp

func TodoApp() *TodoAppElem

TodoApp creates instances of the TodoApp component

type TodoAppState

type TodoAppState struct {
	// contains filtered or unexported fields
}

TodoAppState is the state type for the TodoApp component

func (TodoAppState) EqualsIntf

func (t TodoAppState) EqualsIntf(val react.State) bool

func (TodoAppState) IsState

func (t TodoAppState) IsState()

IsState is an auto-generated definition so that TodoAppState implements the myitcv.io/react.State interface.

Jump to

Keyboard shortcuts

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