components

package
v0.0.0-...-e5d5354 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoBack

func GoBack() templ.Component

func Input

func Input(props InputProps) templ.Component

func Option

func Option(props OptionProps, selectedValue string) templ.Component

func Reactions

func Reactions(likes *types.Likes, resource string, id int) templ.Component

func Select

func Select(props SelectProps) templ.Component

func Textarea

func Textarea(props TextareaProps) templ.Component

Types

type InputProps

type InputProps struct {
	Typ         string
	Placeholder string
	Label       string
	Name        string
	Error       string
	Value       string
	Disabled    bool
}

type OptionProps

type OptionProps struct {
	Value string
	Label string
}

type SelectProps

type SelectProps struct {
	Label         string
	Name          string
	Error         string
	SelectedValue string
	Options       []OptionProps
	Placeholder   OptionProps
}

type TextareaProps

type TextareaProps struct {
	Label       string
	Placeholder string
	Value       string
	Name        string
	Error       string
	Disabled    bool
}

Jump to

Keyboard shortcuts

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