/** * Copyright (c) Nicolas Gallagher. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import propsToAriaRole from './propsToAriaRole'; const roleComponents = { article: 'article', banner: 'header', blockquote: 'blockquote', code: 'code', complementary: 'aside', contentinfo: 'footer', deletion: 'del', emphasis: 'em', figure: 'figure', insertion: 'ins', form: 'form', list: 'ul', listitem: 'li', main: 'main', navigation: 'nav', region: 'section', strong: 'strong' }; const emptyObject = {}; declare var propsToAccessibilityComponent: (props: Object) => void | string; export default propsToAccessibilityComponent;