social

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C

func C(def D) templ.Component

Types

type D

type D struct {
	Type Type
	Link string
	Size size.Size
	// CustomStyle defines a custom style.
	// 	style.Custom{
	// 		"social": style.D{style.Add("...")},
	//	}
	CustomStyle style.Custom
}

D is a button.D preset that renders social links.

type Type

type Type int
const (
	Facebook Type = iota
	Instagram
	Github
	Twitch
	LinkedIn
	Youtube
	Dribble
)

func (Type) String added in v0.3.1

func (i Type) String() string

Jump to

Keyboard shortcuts

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