components

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountSwitcher

func AccountSwitcher(props AccountSwitcherProps, children ...htmx.Node) htmx.Node

AccountSwitcher ...

func CardDataBlock

func CardDataBlock(props *CardDataBlockProps) htmx.Node

CardDataBlock ...

func DefaultLayout added in v0.1.9

func DefaultLayout(props DefaultLayoutProps, children ...htmx.Node) htmx.Node

DefaultLayout ...

func Layout

func Layout(p LayoutProps, children ...htmx.Node) htmx.Node

Layout is a whole document to output.

func MainMenu(p MainMenuProps, children ...htmx.Node) htmx.Node

MainMenu ...

func MultiSelect

func MultiSelect(props MultiSelectProps) htmx.Node

MultiSelect ...

func Page

func Page(props PageProps, children ...htmx.Node) htmx.Node

Page is a whole document to output.

func ProfileMenu added in v0.1.9

func ProfileMenu(p ProfileMenuProps, children ...htmx.Node) htmx.Node

ProfileMenu ...

func SubNav(p SubNavProps, children ...htmx.Node) htmx.Node

SubNav ...

func SubNavActions(p SubNavActionsProps, children ...htmx.Node) htmx.Node

SubNavActions ...

func SubNavBreadcrumb(p SubNavBreadcrumbProps, children ...htmx.Node) htmx.Node

SubNavBreadcrumb ...

func Table

func Table(p TableProps) htmx.Node

Table ...

func TagInput

func TagInput(props TagInputProps) htmx.Node

TagInput ...

func UserMenu

func UserMenu(p UserMenuProps, children ...htmx.Node) htmx.Node

UserMenu ...

func Wrap

func Wrap(p WrapProps, children ...htmx.Node) htmx.Node

Wrap ...

Types

type AccountSwitcherProps

type AccountSwitcherProps struct {
	// ClassNames ...
	ClassNames htmx.ClassNames
	// User ...
	User adapters.GothUser
}

AccountSwitcherProps ...

type CardDataBlockProps

type CardDataBlockProps struct {
	Title string
	Data  string
}

CardDataBlockProps ...

type DefaultLayoutProps added in v0.1.9

type DefaultLayoutProps struct {
	ClassNames htmx.ClassNames
	Path       string
	Title      string
	User       adapters.GothUser
	Head       []htmx.Node
}

DefaultLayoutProps ...

type LayoutProps

type LayoutProps struct {
	// Team is the teams to user adapters.
	Team adapters.GothTeam
	User adapters.GothUser
	Path string
}

LayoutProps is the properties for the Layout component.

type MainMenuProps struct {
	ClassNames htmx.ClassNames
	Path       string
	Team       string
}

MainMenuProps ...

type MultiSelectProps

type MultiSelectProps struct{}

MultiSelectProps ...

type PageProps

type PageProps struct {
	Title    string
	Path     string
	Children []htmx.Node
	Head     []htmx.Node
}

PageProps is the properties for the Page component.

type ProfileMenuProps added in v0.1.9

type ProfileMenuProps struct {
	ClassNames htmx.ClassNames
	User       adapters.GothUser
}

ProfileMenuProps ...

type SubNavActionsProps struct{}

SubNavActionsProps ...

type SubNavBreadcrumbProps struct{}

SubNavBreadcrumbProps ...

type SubNavProps struct {
	ClassNames htmx.ClassNames
}

SubNavProps ...

type TableProps

type TableProps struct{}

TableProps ...

type TagInputProps

type TagInputProps struct {
	ClassNames htmx.ClassNames
}

TagInputProps is a component that allows users to input tags.

type UserMenuProps

type UserMenuProps struct {
	ClassNames htmx.ClassNames
	Path       string
}

UserMenuProps ...

type WrapProps

type WrapProps struct {
	ClassNames htmx.ClassNames
}

WrapProps ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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