components

package
v0.0.0-...-526a5c0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package components provides UI components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	app.Compo
}

App is an application component.

func (*App) Render

func (a *App) Render() app.UI

type Editor

type Editor struct {
	app.Compo
	// contains filtered or unexported fields
}

Editor is a config editor.

func (*Editor) OnMount

func (e *Editor) OnMount(ctx app.Context)

func (*Editor) OnResize

func (e *Editor) OnResize(_ app.Context)

func (*Editor) Render

func (e *Editor) Render() app.UI
type Footer struct {
	app.Compo
}

Footer is an application footer.

func (*Footer) Render

func (*Footer) Render() app.UI

type Main

type Main struct {
	app.Compo
}

Main is a root application component.

func (*Main) Render

func (m *Main) Render() app.UI
type Navbar struct {
	app.Compo
}

Navbar is a navigation menu.

func (*Navbar) Render() app.UI

type Tree

type Tree struct {
	app.Compo
}

Tree is a navigation tree.

func (*Tree) Render

func (t *Tree) Render() app.UI

Directories

Path Synopsis
Package metro provides Metro 4 components.
Package metro provides Metro 4 components.

Jump to

Keyboard shortcuts

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