Skip to content

Commit

Permalink
use export default
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrouid committed Oct 14, 2018
1 parent 487198c commit c022d66
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,18 @@ import Button from './button';
import QRCodeScanner from './qrcodescanner';
import ERC20Icon from './erc20icon';

module.exports['Gas'] = Gas;
module.exports['Metamask'] = Metamask;
module.exports['Transactions'] = Transactions;
module.exports['ContractLoader'] = ContractLoader;
module.exports['Events'] = Events;
module.exports['Scaler'] = Scaler;
module.exports['Blockie'] = Blockie;
module.exports['Address'] = Address;
module.exports['Button'] = Button;
module.exports['QRCodeScanner'] = QRCodeScanner;
module.exports['ERC20Icon'] = ERC20Icon;

module.exports['Dapparatus'] = Dapparatus;
/*
export default {
Gas: Gas,
Metamask: Metamask,
Transactions: Transactions,
ContractLoader: ContractLoader,
}
*/
Dapparatus,
Gas,
Metamask,
Web3,
Transactions,
ContractLoader,
Events,
Scaler,
Blockie,
Address,
Button,
QRCodeScanner,
ERC20Icon
};

0 comments on commit c022d66

Please sign in to comment.