From eed309fb7d3c7bbb66f25bdfeb1b7aae6cb26231 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 6 Feb 2024 11:36:31 -0300 Subject: [PATCH] docs: fix list delegate et al links (#467) --- list/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/list/README.md b/list/README.md index 303394de..60e802c2 100644 --- a/list/README.md +++ b/list/README.md @@ -26,7 +26,7 @@ type DefaultItem interface { ``` You can see a working example in our [Kancli][kancli] project built -explicitly for a tutorial on lists and composite views in Bubble Tea. +explicitly for a tutorial on lists and composite views in Bubble Tea. [VIDEO](https://youtu.be/ZA93qgdLUzM) @@ -64,9 +64,8 @@ example][listDefault]. For full control over the way list items are rendered you can also define your own `ItemDelegate` too ([example][customDelegate]). - [kancli]: https://github.com/charmbracelet/kancli/blob/main/main.go#L45 -[itemDelegate]: https://pkg.go.dev/github.com/charmbracelet/bubbles@v0.10.2/list#ItemDelegate +[itemDelegate]: https://pkg.go.dev/github.com/charmbracelet/bubbles/list#ItemDelegate [replacedLine]: https://github.com/charmbracelet/bubbletea/blob/master/examples/list-default/main.go#L77 [listDefault]: https://github.com/charmbracelet/bubbletea/tree/master/examples/list-default -[customDelegate]: https://github.com/charmbracelet/bubbletea/blob/a6f46172ec4436991b90c2270253b2d212de7ef3/examples/list-simple/main.go#L28-L49 +[customDelegate]: https://github.com/charmbracelet/bubbletea/blob/master/examples/list-simple/main.go#L29-L50