using System.Windows.Controls;
using SharepointToolbox.ViewModels.Tabs;

namespace SharepointToolbox.Views.Tabs;

public partial class SettingsView : UserControl
{
    public SettingsView(SettingsViewModel viewModel)
    {
        InitializeComponent();
        DataContext = viewModel;
        Loaded += async (_, _) => await viewModel.LoadAsync();
    }
}
