1import React, { useState } from 'react';
3import Tabs from 'components/Tabs';
4import PrivateKey from './PrivateKey';
5import Keystore from './Keystore';
8 PRIVATE_KEY: 'PRIVATE_KEY',
13 [NAMES.PRIVATE_KEY]: PrivateKey,
14 [NAMES.KEYSTORE]: Keystore,
18 { text: 'Ethereum Private Key', value: NAMES.PRIVATE_KEY },
19 { text: 'Ethereum Keystore', value: NAMES.KEYSTORE },
22export default function Advanced({ loginCompleted, className }) {
23 const [currentTab, setCurrentTab] = useState(NAMES.PRIVATE_KEY);
30 currentTab={currentTab}
31 onTabChange={setCurrentTab}
33 loginCompleted={loginCompleted}
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list