tws

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlexRow   string = "flex flex-row gap-2"
	FlexRowCB string = FlexRow + " items-center justify-between"
	NoRing    string = "" /* 178-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func TwMerge

func TwMerge(classes ...string) string

TwMerge combines Tailwind classes and handles conflicts. Later classes override earlier ones with the same base. Example: "bg-red-500 hover:bg-blue-500", "bg-green-500" → "hover:bg-blue-500 bg-green-500"

Types

This section is empty.

Jump to

Keyboard shortcuts

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