diff --git a/examples/README.md b/examples/README.md index 9c40237..3d8d2b1 100644 --- a/examples/README.md +++ b/examples/README.md @@ -10,7 +10,7 @@ To run any of the examples, use `cargo run --example NAME`. For example, to run |---|:---:| |[borders.rs](./borders.rs)
Showcases various border styles.|![preview](./images/borders.png)| |[context.rs](./context.rs)
Demonstrates using a custom context via `ContextProvider` and `use_context`.|![preview](./images/context.png)| -|[counter.rs](./counter.rs)
Renders a dynamic component which spawns a future to increment a counter every 100ms.|![preview](./images/counter.svg)| +|[counter.rs](./counter.rs)
Renders a dynamic component which spawns a future to increment a counter every 100ms.|![preview](./images/counter.png)| |[form.rs](./form.rs)
Displays a form prompting the user for input into multiple text fields. Uses mutable reference props to surface the user's input to the caller once the form is submitted.|![preview](./images/form.png)| |[fullscreen.rs](./fullscreen.rs)
Takes over the full terminal, rendering to an alternate buffer and preventing the user from scrolling.|![preview](./images/fullscreen.png)| |[hello_world.rs](./hello_world.rs)
Hello, world!|![preview](./images/hello-world.png)| diff --git a/examples/images/counter.png b/examples/images/counter.png new file mode 100644 index 0000000..6771b93 Binary files /dev/null and b/examples/images/counter.png differ