spotlight/ Spotlight Root Decorator
Exports the spotlight/SpotlightRootDecorator.SpotlightRootDecorator higher-order component.
import SpotlightRootDecorator from '@enact/spotlight/SpotlightRootDecorator';
Members
SpotlightRootDecoratorHigher-Order Component
Constructs a higher-order component that initializes and enables Spotlight 5-way navigation within an application.
No additional properties are passed to the wrapped component.
Example:
const App = SpotlightRootDecorator(ApplicationView);
import SpotlightRootDecorator from '@enact/spotlight/SpotlightRootDecorator';
Configuration
When
true
, the contents of the component will not receive spotlight focus after being rendered.Default: false
ArrayBooleanFunctionModuleNumberObjectString