Examples
Examples
To switch the mode of an individual component or a group, add the component as a child to the Mode Provider.
With the Mode component, the appearance of descendent components can be switched regardless of their nested level of depth.
Mode Providers can be nested – the one that is closest to a component is the one that provides the mode.