blob: 79bf68618e803ce484cccb5e29fab4edc5fcc209 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import * as React from 'react';
import { connect } from 'react-redux';
import { Home as HomeComponent, HomeProps } from 'ts/pages/documentation/home';
import { State } from 'ts/redux/reducer';
import { Translate } from 'ts/utils/translate';
interface ConnectedState {
translate: Translate;
}
const mapStateToProps = (state: State, _ownProps: HomeProps): ConnectedState => ({
translate: state.translate,
});
export const DocsHome: React.ComponentClass<HomeProps> = connect(mapStateToProps, undefined)(HomeComponent);
|