import React, { useState } from 'react'; import Accordion from 'components/Accordion'; import PrivateKey from './PrivateKey'; import Keystore from './Keystore'; const NAMES = { PRIVATE_KEY: 'PRIVATE_KEY', KEYSTORE: 'KEYSTORE', }; const VIEWS = { [NAMES.PRIVATE_KEY]: PrivateKey, [NAMES.KEYSTORE]: Keystore, }; const OPTIONS = [ { text: 'Ethereum Private Key', value: NAMES.PRIVATE_KEY }, { text: 'Ethereum Keystore', value: NAMES.KEYSTORE }, ]; export default function Advanced({ className, ...rest }) { const [currentTab, setCurrentTab] = useState(undefined); return ( ); }