ui/ A11y Decorator
Exports the ui/A11yDecorator.A11yDecorator Higher-order Component (HOC).
import A11yDecorator from '@enact/ui/A11yDecorator';
Members
A11yDecoratorHigher-Order Component
ui/A11yDecorator.A11yDecorator is a Higher-order Component that adds support for hint
text to be read before and/or after the content. By default, the children
prop is used as the
source of the components content but may be configured by passing a different prop
to the HOC
configuration.
import A11yDecorator from '@enact/ui/A11yDecorator';
Configuration
- prop
Configures the prop for the source of the component's content
Default: 'children'
String
ArrayBooleanFunctionModuleNumberObjectString