From 465a66e963226761a0076070f6a4b8638751b74c Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 13 Jan 2022 11:30:10 -0500 Subject: [PATCH] Add timer and stopwatch info to README --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fb0219..66ed308 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ logic and visualize pagination however you like. ## Viewport -Viewport Example +Viewport Example A viewport for vertically scrolling content. Optionally includes standard pager keybindings and mouse wheel support. A high performance mode is available @@ -99,6 +99,26 @@ Extrapolated from [Glow][glow]. * [Example code, all features](https://github.com/charmbracelet/tea/tree/master/examples/list-fancy/main.go) +## Timer + +A simple, flexible component for counting down. The update frequency and output +can be customized as you like. + +Timer example + +* [Example code](https://github.com/charmbracelet/bubbletea/blob/master/examples/timer/main.go) + + +## Stopwatch + +Stopwatch example + +A simple, flexible component for counting up. The update frequency and output +can be customized as you see fit. + +* [Example code](https://github.com/charmbracelet/bubbletea/blob/master/examples/stopwatch/main.go) + + ## Help Help Example