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