mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-01-04 16:58:51 +00:00
19 lines
324 B
Rust
19 lines
324 B
Rust
fn main() {}
|
|
|
|
pub mod dioxus {
|
|
pub mod prelude {
|
|
pub trait Properties {
|
|
type Builder;
|
|
fn builder() -> Self::Builder;
|
|
}
|
|
}
|
|
}
|
|
#[derive(dioxus_core_macro::Props)]
|
|
struct SomeProps {
|
|
a: String,
|
|
}
|
|
|
|
#[derive(dioxus_core_macro::Props)]
|
|
struct SomePropsTwo<'a> {
|
|
a: &'a str,
|
|
}
|