mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-01-21 09:14:17 +00:00
20 lines
324 B
Rust
20 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,
|
||
|
}
|