avatar

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Demo added in v0.0.5

func Demo() app.UI

func ImageSrc added in v0.0.5

func ImageSrc() string

Types

type Avatar added in v0.0.5

type Avatar struct {
	Alt       string
	Border    BorderType
	ClassName []string
	Size      SizeType
	Src       string
}

func (*Avatar) UI added in v0.0.5

func (a *Avatar) UI() app.UI

type Basic

type Basic struct {
	app.Compo
}

func (*Basic) Render

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

type BorderType added in v0.0.5

type BorderType string
const (
	BorderLight BorderType = "light"
	BorderDark  BorderType = "dark"
)

type BorderedDark

type BorderedDark struct {
	app.Compo
}

func (*BorderedDark) Render

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

type BorderedLight

type BorderedLight struct {
	app.Compo
}

func (*BorderedLight) Render

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

type ExtraLarge

type ExtraLarge struct {
	app.Compo
}

func (*ExtraLarge) Render

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

type Large

type Large struct {
	app.Compo
}

func (*Large) Render

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

type Medium

type Medium struct {
	app.Compo
}

func (*Medium) Render

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

type SizeType added in v0.0.5

type SizeType string
const (
	SizeSmall      SizeType = "sm"
	SizeMedium     SizeType = "md"
	SizeLarge      SizeType = "lg"
	SizeExtraLarge SizeType = "xl"
)

func Sizes added in v0.0.5

func Sizes() []SizeType

type Small

type Small struct {
	app.Compo
}

func (*Small) Render

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

Jump to

Keyboard shortcuts

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