docs: Fix example in readme since we use default imports (#243)

This commit is contained in:
Luke Schoen
2018-11-14 13:48:44 +01:00
committed by Jaco Greeff
parent 0a33c5742f
commit dc07e267eb
+3 -3
View File
@@ -13,9 +13,9 @@ yarn add @polkadot/keyring
Classes and Functions can be imported as follows:
```js
import Keyring from '@polkadot/keyring'; // Default export
import { pair } from '@polkadot/keyring/pair';
import { testKeyring } from '@polkadot/keyring/testing';
import Keyring from '@polkadot/keyring';
import pair from '@polkadot/keyring/pair';
import testKeyring from '@polkadot/keyring/testing';
```
## Documentation and Available Utilities