我需要实施扩展" react-redux-toastr"进入Admin-On-Rest。 我如何将此代码插入APP-Root
<ReduxToastr
timeOut={4000}
newestOnTop={false}
preventDuplicates
position="top-left"
transitionIn="fadeIn"
transitionOut="fadeOut"
progressBar/>
这不起作用
<Admin customReducers={{ watchlistAdd: researchReducer, toastr: toastrReducer }} title="ProAmz" menu={Menu} restClient={jsonServerRestClient('http://dell.does-it.net:3306/api/v1')}>
<Resource name="amazon_products" title="Produkte" list={ProductList}/>
<Resource name="Watchlist" title="Watchlist" list={Watchlist} />
<div>
<ReduxToastr
timeOut={4000}
newestOnTop={false}
preventDuplicates
position="top-left"
transitionIn="fadeIn"
transitionOut="fadeOut"
progressBar/>
</div>
</Admin>
我不会使用&#34;自定义应用&#34; https://marmelab.com/admin-on-rest/CustomApp.html版本。