1import React, { useState } from 'react';
3import Tabs from 'components/Tabs';
4import Ledger from './Ledger';
5import Trezor from './Trezor';
13 [NAMES.LEDGER]: Ledger,
14 [NAMES.TREZOR]: Trezor,
18 { text: 'Ledger', value: NAMES.LEDGER },
19 { text: 'Trezor', value: NAMES.TREZOR },
22export default function Hardware({ loginCompleted, className }) {
23 const [currentTab, setCurrentTab] = useState(NAMES.LEDGER);
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