aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/standard_sliding_panel.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-10 06:57:29 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-10 06:57:29 +0800
commitb5988277087f0ee39109972d73ca94368d6dd4b9 (patch)
tree8e18c131ac490cb612f8b4c20cfb45ec0bcfde72 /packages/instant/src/components/standard_sliding_panel.tsx
parent128abb39dd635599841643ca65bfc286aabaa063 (diff)
downloaddexon-sol-tools-b5988277087f0ee39109972d73ca94368d6dd4b9.tar.gz
dexon-sol-tools-b5988277087f0ee39109972d73ca94368d6dd4b9.tar.zst
dexon-sol-tools-b5988277087f0ee39109972d73ca94368d6dd4b9.zip
feat: implement basic StandardModalContent with accompanying InstallWalletPanelContent
Diffstat (limited to 'packages/instant/src/components/standard_sliding_panel.tsx')
-rw-r--r--packages/instant/src/components/standard_sliding_panel.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/instant/src/components/standard_sliding_panel.tsx b/packages/instant/src/components/standard_sliding_panel.tsx
index 6d31f3e3a..9409d9664 100644
--- a/packages/instant/src/components/standard_sliding_panel.tsx
+++ b/packages/instant/src/components/standard_sliding_panel.tsx
@@ -2,6 +2,7 @@ import * as React from 'react';
import { SlideAnimationState, StandardSlidingPanelContent, StandardSlidingPanelSettings } from '../types';
+import { InstallWalletPanelContent } from './install_wallet_panel_content';
import { SlidingPanel } from './sliding_panel';
export interface StandardSlidingPanelProps extends StandardSlidingPanelSettings {
@@ -19,8 +20,8 @@ export class StandardSlidingPanel extends React.Component<StandardSlidingPanelPr
}
private readonly _getNodeForContent = (content: StandardSlidingPanelContent): React.ReactNode => {
switch (content) {
- case StandardSlidingPanelContent.InstallMetaMask:
- return 'Install MetaMask';
+ case StandardSlidingPanelContent.InstallWallet:
+ return <InstallWalletPanelContent />;
default:
return null;
}