pub mod theme;

// Re-export common state-related items
use leptos::prelude::*;
pub use theme::*;

// Global state provider components
#[component]
pub fn GlobalStateProvider(children: leptos::children::Children) -> impl IntoView {
    view! {
      <>{children()}</>
    }
}

#[component]
pub fn ThemeProvider(children: leptos::children::Children) -> impl IntoView {
    view! {
      <>{children()}</>
    }
}

#[component]
pub fn ToastProvider(children: leptos::children::Children) -> impl IntoView {
    view! {
      <>{children()}</>
    }
}

#[component]
pub fn UserProvider(children: leptos::children::Children) -> impl IntoView {
    view! {
      <>{children()}</>
    }
}

#[component]
pub fn AppStateProvider(children: leptos::children::Children) -> impl IntoView {
    view! {
      <>{children()}</>
    }
}
