We are facing a problem adding submenu to Users in react-admin.
const App = () => (
<Admin loginPage={CustomLoginPage} authProvider={authProvider} dataProvider={dataProvider}>
<Resource name="users" list={UserList} create={UserCreate} edit={UserEdit} show={UserShow} icon={UserIcon} />
<Resource name="regions" list={RegionList} icon={RegionIcon} />
<Resource name="hospitals" list={HospitalList} create={HospitalCreate} icon={HospitalIcon} />
</Admin>
);
For Users we need submenu in react-admin.