prefixtest

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package prefixtest is a component package of tsx's tests, whose types TypePrefix declares after it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Badge

type Badge struct{ Kind ChipKind }

Badge is a second component of the package, with a type named after the prefix already.

func (Badge) Render

func (Badge) Render(cx *core.Scope) core.Node

Render draws nothing of its own.

type Chip

type Chip struct {
	Size  Size
	Theme *Theme
}

Chip is a component of the package.

func (Chip) Render

func (Chip) Render(cx *core.Scope) core.Node

Render draws nothing of its own.

type ChipKind

type ChipKind string

ChipKind keeps its name, which starts with the prefix.

type Size

type Size string

Size is a chip's size.

type Theme

type Theme struct{ Fill core.Color }

Theme is a chip's colors.

Jump to

Keyboard shortcuts

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