Expose Outlet Context (#3788)

* Expose Outlet Context

* feat(router): expose OutletContext and use_outlet_context for improved accessibility

* Hide OutletContext properties

* Starts from 0 ?

* Clippy fix with Default
This commit is contained in:
Sabin Regmi authored and GitHub committed 2025-03-04 12:34:22 -06:00
1 parent f4c59e1188
commit 6a0ae17d56
3 files changed
+62 -32

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ pub mod components {
mod contexts {
pub(crate) mod navigator;
pub(crate) mod outlet;
pub use outlet::{use_outlet_context, OutletContext};
pub(crate) mod router;
pub use navigator::*;
pub(crate) use router::*;