pub fn ThemeProviderInner(props: ThemeProviderInnerProps) -> impl IntoViewExpand description
Provides theme support to children. Note: Setting mode and theme here are only used for
initial values. Updates should be done via ThemeProviderContext.
§Required Props
- children:
Children
§Optional Props
- mode:
impl Into<MaybeProp<String>>-
Set the initial light/dark mode behavior. Defaults to
auto/Mode::Auto.Accepted values:
auto|dark|lightor aMode
-
- theme:
impl Into<MaybeProp<Theme::Theme>>- Set the initial Theme.