components

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

templ: version: v0.2.513

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Card

func Card(opts ...Option) templ.Component

Types

type Option

type Option func(Options) Options

func WithAttrs

func WithAttrs(attrs templ.Attributes) Option

func WithOptions

func WithOptions(o Options) Option

func WithStyle

func WithStyle(style string) Option

type Options

type Options struct {
	Style      string
	Attributes templ.Attributes
}

func (Options) Card

func (opts Options) Card() templ.Component

Jump to

Keyboard shortcuts

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