Documentation ¶
Overview ¶
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
Index ¶
- func Comment(c CommentData) templ.Component
- func CommentInput(url string, reply bool) templ.Component
- func DislikeButton(disliked bool, postID string) templ.Component
- func EndOfFeed() templ.Component
- func Form() templ.Component
- func Index() templ.Component
- func LikeButton(liked bool, postID string) templ.Component
- func LikeCount(likeCount int, postID string) templ.Component
- func LoadCommentBtn(c CommentData) templ.Component
- func LoadedComment(comments []CommentData) templ.Component
- func ManyPost(audience string, postDatas []PostData, manyPostType ManyPostType) templ.Component
- func OptionButton(isOwner bool, postID string) templ.Component
- func Post(postData PostData, audience string) templ.Component
- func ReactSection(reactData ReactData) templ.Component
- type CommentData
- type ManyPostType
- type PostData
- type ReactData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comment ¶
func Comment(c CommentData) templ.Component
func LoadCommentBtn ¶
func LoadCommentBtn(c CommentData) templ.Component
func LoadedComment ¶
func LoadedComment(comments []CommentData) templ.Component
func ManyPost ¶
func ManyPost(audience string, postDatas []PostData, manyPostType ManyPostType) templ.Component
func ReactSection ¶
Types ¶
type CommentData ¶
type ManyPostType ¶
type ManyPostType int
const ( ManyPostTypeBoth ManyPostType = iota ManyPostTypeNewer ManyPostTypeOlder )
Click to show internal directories.
Click to hide internal directories.