Struct freya::components::ThemeProviderProps
source · pub struct ThemeProviderProps<'a> {
pub theme: Option<Theme>,
pub children: Option<VNode<'a>>,
}
Expand description
ThemeProvider
component properties.
Fields§
§theme: Option<Theme>
Theme to provide.
children: Option<VNode<'a>>
Inner children to provide a Theme to.
Implementations§
source§impl<'a> ThemeProviderProps<'a>
impl<'a> ThemeProviderProps<'a>
Trait Implementations§
source§impl<'a> Properties for ThemeProviderProps<'a>
impl<'a> Properties for ThemeProviderProps<'a>
§type Builder = ThemeProviderPropsBuilder<'a, ((), ())>
type Builder = ThemeProviderPropsBuilder<'a, ((), ())>
The type of the builder for this component.
Used to create “in-progress” versions of the props.
source§fn builder() -> <ThemeProviderProps<'a> as Properties>::Builder
fn builder() -> <ThemeProviderProps<'a> as Properties>::Builder
Create a builder for this component.