<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:RBLNews.Maui"
             xmlns:shared="clr-namespace:RBLNews.Shared;assembly=RBLNews.Shared"
             x:Class="RBLNews.Maui.MainPage"
             
             BackgroundColor="{DynamicResource PageBackgroundColor}">
    <RefreshView x:Name="RefreshView" Refreshing="RefreshView_Refreshing">
        <BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
            <BlazorWebView.RootComponents>
                <RootComponent Selector="#app" ComponentType="{x:Type shared:Components.Routes}" />
            </BlazorWebView.RootComponents>
        </BlazorWebView>
    </RefreshView>
</ContentPage>
