misc: Update documentation, change ReactiveUI extension folder name.

This commit is contained in:
rabbitism
2024-09-27 14:21:30 +08:00
parent 2bce32ae97
commit de44a96a99
7 changed files with 16 additions and 7 deletions

View File

@@ -4,6 +4,9 @@
<img src="./assets/Ursa.svg" alt="drawing" width="150" />
</p>
[![Irihi.Ursa](https://img.shields.io/nuget/v/Irihi.Ursa.svg?color=red&style=flat-square)](https://www.nuget.org/packages/Irihi.Ursa/)
[![Irihi.Ursa](https://img.shields.io/nuget/dt/Irihi.Ursa.svg?style=flat-square)](https://www.nuget.org/packages/Irihi.Ursa/)
Ursa is a UI library for building cross-platform UIs with Avalonia UI.
![Demo](./assets/demo.png)
@@ -59,10 +62,16 @@ You can now use Ursa controls in your Avalonia Application.
![Demo](./assets/demo.jpg)
## ReactiveUI
If you're familiar with and often use Avalonia.ReactiveUI for development, you can use the Irihi.Ursa.ReactiveUIExtension package. This package implements the ReactiveUI versions of UrsaWindow and UrsaView.
## Extensions
### Prism Extension
If you need to integrate Ursa with Prism.Avalonia, you can use the Irihi.Ursa.PrismExtension package. This package provide Dialog related services to utilize Ursa Dialogs with Prism flavor.
### ReactiveUI Extension
If need to integrate Ursa with Avalonia.ReactiveUI, you can use the Irihi.Ursa.ReactiveUIExtension package. This package implements the ReactiveUI versions of UrsaWindow and UrsaView.
You just need to replace ReactiveWindow or ReactiveUserControl with ReactiveUrsaWindow or ReactiveUrsaView.
```xaml
<u:ReactiveUrsaWindow
...