aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/inputs/allowance_state_toggle.ts
blob: 6e2698b0b6b22c4a595abe9091d56a3be029980a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import * as React from 'react';
import { connect } from 'react-redux';
import { Dispatch } from 'redux';
import { Blockchain } from 'ts/blockchain';
import { State } from 'ts/redux/reducer';
import { BalanceErrs, Token, TokenState } from 'ts/types';

import { AllowanceStateToggle as AllowanceStateToggleComponent } from 'ts/components/inputs/allowance_state_toggle';
import { Dispatcher } from 'ts/redux/dispatcher';

interface AllowanceStateToggleProps {}

interface ConnectedState {}

interface ConnectedDispatch {
    dispatcher: Dispatcher;
}

const mapStateToProps = (state: State, _ownProps: AllowanceStateToggleProps): ConnectedState => ({});

// const mapDispatchTopProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({});

export const AllowanceStateToggle: React.ComponentClass<AllowanceStateToggleProps> = connect(
    mapStateToProps,
    // mapDispatchTopProps,
)(AllowanceStateToggleComponent);