diff --git a/extensions/Fabulous.Avalonia.Labs/Controls/AsyncImage.fs b/extensions/Fabulous.Avalonia.Labs/Controls/AsyncImage.fs index 1d34e391..b03f2818 100644 --- a/extensions/Fabulous.Avalonia.Labs/Controls/AsyncImage.fs +++ b/extensions/Fabulous.Avalonia.Labs/Controls/AsyncImage.fs @@ -59,7 +59,6 @@ module AsyncImageBuilders = static member AsyncImage(source: string) = WidgetBuilder<'msg, IFabAsyncImage>(AsyncImage.WidgetKey, AsyncImage.Source.WithValue(Uri(source))) - type AsyncImageModifiers = /// Sets the PlaceholderSource property. /// Current widget. diff --git a/extensions/Fabulous.Avalonia.Labs/README.md b/extensions/Fabulous.Avalonia.Labs/README.md index 84614103..b9d52ed5 100644 --- a/extensions/Fabulous.Avalonia.Labs/README.md +++ b/extensions/Fabulous.Avalonia.Labs/README.md @@ -1,18 +1,20 @@ -## Labs for Fabulous.Avalonia +## Fabulous.Avalonia.Labs -Avalonia has some experimental [packages](https://www.nuget.org/packages?q=Avalonia.Labs) that are not yet part of the main Avalonia project. -This repository contains the source code for the Fabulous.Avalonia.Labs package, which is a collection of experimental features that are not yet part of the main Fabulous.Avalonia package. -https://www.nuget.org/packages?q=Avalonia.Labs +Avalonia has some experimental [packages](https://www.nuget.org/packages?q=Avalonia.Labs) that are not yet part of the main Avalonia project and might or might not be included in the future. + +This repository contains the source code for the Fabulous.Avalonia.Labs package, which is a collection of experimental controls so that you can use them in your Fabulous.Avalonia applications. + +> NOTe: This package is not yet stable and is subject to change. ### How to use - Add the `Fabulous.Avalonia.Labs` package to your project. - Open `Fabulous.Avalonia` namespace at the top of the file. -### Features +### Controls #### AsyncImage ```fsharp -HWrap() { +VStack() { AsyncImage(ImageSource.fromString("avares://Gallery/Assets/Icons/fsharp-icon.png")) AsyncImage("https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png")