chats

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.2.598

templ: version: v0.2.598

templ: version: v0.2.598

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChatFooter

func ChatFooter() templ.Component

func ChatHeader

func ChatHeader() templ.Component

func ChatMessage

func ChatMessage(props ...ChatMessageOption) templ.Component

func ChatTimestamp

func ChatTimestamp() templ.Component

func ConversationItem

func ConversationItem() templ.Component

func ConversationsHeader

func ConversationsHeader() templ.Component

func Page

func Page(c echo.Context) templ.Component

func WithIncoming

func WithIncoming() chatMessageProps

Types

type ChatMessageOption

type ChatMessageOption func(*chatMessageProps)

func WithIncomingMessage

func WithIncomingMessage(message string) ChatMessageOption

func WithOutgoingMessage

func WithOutgoingMessage(message string) ChatMessageOption

Jump to

Keyboard shortcuts

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