mirror of
https://github.com/astuto/astuto.git
synced 2025-12-14 18:57:51 +01:00
* Make it possible to embed the roadmap in iframe * Add board and status filters * Add query params to show/hide roadmap filters
35 lines
856 B
TypeScript
35 lines
856 B
TypeScript
import * as React from 'react';
|
|
import { Provider } from 'react-redux';
|
|
import { Store } from 'redux';
|
|
import RoadmapSiteSettings from '../../../containers/RoadmapSiteSettings';
|
|
|
|
import createStoreHelper from '../../../helpers/createStore';
|
|
import { State } from '../../../reducers/rootReducer';
|
|
|
|
interface Props {
|
|
embeddedRoadmapUrl: string;
|
|
authenticityToken: string;
|
|
}
|
|
|
|
class RoadmapSiteSettingsRoot extends React.Component<Props> {
|
|
store: Store<State, any>;
|
|
|
|
constructor(props: Props) {
|
|
super(props);
|
|
|
|
this.store = createStoreHelper();
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<Provider store={this.store}>
|
|
<RoadmapSiteSettings
|
|
embeddedRoadmapUrl={this.props.embeddedRoadmapUrl}
|
|
authenticityToken={this.props.authenticityToken}
|
|
/>
|
|
</Provider>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default RoadmapSiteSettingsRoot; |