aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-20 23:52:14 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-20 23:52:14 +0800
commitcdcf624e9e6fe671611b239f903c2f2cb3097e7c (patch)
treeb45c95d29d355f385583f182a3faac2b3a7661c9 /packages/website/ts/containers
parent8e7c395f59666b97453f09354e3f44471b5fc112 (diff)
downloaddexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.tar
dexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.tar.gz
dexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.tar.bz2
dexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.tar.lz
dexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.tar.xz
dexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.tar.zst
dexon-sol-tools-cdcf624e9e6fe671611b239f903c2f2cb3097e7c.zip
Have basic lock and check working in walelt
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/inputs/allowance_state_toggle.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/website/ts/containers/inputs/allowance_state_toggle.ts b/packages/website/ts/containers/inputs/allowance_state_toggle.ts
new file mode 100644
index 000000000..6e2698b0b
--- /dev/null
+++ b/packages/website/ts/containers/inputs/allowance_state_toggle.ts
@@ -0,0 +1,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);