components

package
v0.0.0-...-0963827 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(todos []*models.Todo) templ.Component

func List

func Toast

func Toast(props ToastComponentProps) templ.Component

Types

type ListComponentProps

type ListComponentProps struct {
	Items        []string
	ToastMessage string
	ToastType    ToastType
}

type ToastComponentProps

type ToastComponentProps struct {
	Message string
	Type    ToastType
	// contains filtered or unexported fields
}

type ToastType

type ToastType int
const (
	ToastTypeSuccess ToastType = iota + 1
	ToastTypeError
)

Jump to

Keyboard shortcuts

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