alert

package
v0.1.1-0...-9f51ffb Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	app.Compo

	Icon     app.UI
	Body     app.UI
	Color    AlertColor
	Closable bool
}

func (*Alert) Render

func (c *Alert) Render() app.UI

type AlertColor

type AlertColor string
var (
	AlertColorIno     AlertColor = "blue"
	AlertColorDanger  AlertColor = "red"
	AlertColorSuccess AlertColor = "green"
	AlertColorWarning AlertColor = "yellow"
)

Jump to

Keyboard shortcuts

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