fix: tests pass
This commit is contained in:
1 parent
06d4a5640b
commit
c7627f0b93
10 files changed
+33
-18
No files matched your search
@@ -11,7 +11,7 @@ use dioxus_html as dioxus_elements;
|
||||
pub struct LinkProps<'a> {
|
||||
/// The route to link to. This can be a relative path, or a full URL.
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust, ignore
|
||||
/// // Absolute path
|
||||
/// Link { to: "/home", "Go Home" }
|
||||
///
|
||||
@@ -64,7 +64,7 @@ pub struct LinkProps<'a> {
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust, ignore
|
||||
/// fn Header(cx: Scope) -> Element {
|
||||
/// cx.render(rsx!{
|
||||
/// Link { to: "/home", "Go Home" }
|
||||
|
||||
@@ -9,7 +9,7 @@ use crate::use_router;
|
||||
pub struct RedirectProps<'a> {
|
||||
/// The route to link to. This can be a relative path, or a full URL.
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust, ignore
|
||||
/// // Absolute path
|
||||
/// Redirect { from: "", to: "/home" }
|
||||
///
|
||||
@@ -20,7 +20,7 @@ pub struct RedirectProps<'a> {
|
||||
|
||||
/// The route to link from. This can be a relative path, or a full URL.
|
||||
///
|
||||
/// ```rust
|
||||
/// ```rust, ignore
|
||||
/// // Absolute path
|
||||
/// Redirect { from: "", to: "/home" }
|
||||
///
|
||||
|
||||
@@ -22,7 +22,7 @@ pub struct RouteProps<'a> {
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
///```rust
|
||||
///```rust, ignore
|
||||
/// rsx!(
|
||||
/// Router {
|
||||
/// Route { to: "/home", Home {} }
|
||||
|
||||
Reference in new issue
Block a user