An object of aria roles and their descriptions, as detailed by ARIA.
npm install aria-roles --save
Use this package in places where you'd use ARIA role strings.
At the top of your file, add the following:
import { Roles } from aria-roles;
Then you can use the values wherever they're needed:
<div class="menuItem" role={Roles.MenuItem}/>
Resolves to
<div class="menuItem" role="menuitem"/>