|
1 | 1 | # UAL Renderer for ReactJS  |
2 | 2 |
|
3 | | -This library provides a React renderer around the [Universal Authenticator Library](https://github.com/EOSIO/universal-authenticator-library). |
| 3 | +This library provides a React renderer around the [Universal Authenticator Library](https://github.com/EOSIO/universal-authenticator-library). |
4 | 4 |
|
5 | 5 | ## Getting Started |
6 | 6 | #### With ``yarn`` |
7 | 7 | ```bash |
8 | | -yarn add @blockone/ual-reactjs-renderer |
| 8 | +yarn add ual-reactjs-renderer |
9 | 9 | ``` |
10 | 10 | Then, install the authenticators that you wish to use... |
11 | 11 | ```bash |
12 | | -yarn add @blockone/ual-scatter @blockone/ual-lynx |
| 12 | +yarn add ual-scatter ual-lynx |
13 | 13 | ``` |
14 | 14 | #### With ``npm`` |
15 | 15 | ```bash |
16 | | -npm i @blockone/ual-reactjs-renderer |
| 16 | +npm i ual-reactjs-renderer |
17 | 17 | ``` |
18 | 18 | Then, install the authenticators that you wish to use... |
19 | 19 | ```bash |
20 | | -npm i @blockone/ual-scatter @blockone/ual-lynx |
| 20 | +npm i ual-scatter ual-lynx |
21 | 21 | ``` |
22 | 22 |
|
23 | 23 | ## Basic Usage |
24 | 24 | ```javascript |
25 | 25 | import React from 'react' |
26 | 26 | import ReactDOM from 'react-dom' |
27 | | -import { UALProvider, withUAL } from '@blockone/ual-reactjs-renderer' |
28 | | -import { Scatter } from '@blockone/ual-scatter' |
29 | | -import { Lynx } from '@blockone/ual-lynx' |
| 27 | +import { UALProvider, withUAL } from 'ual-reactjs-renderer' |
| 28 | +import { Scatter } from 'ual-scatter' |
| 29 | +import { Lynx } from 'ual-lynx' |
30 | 30 |
|
31 | 31 | import { MyApp } from './MyApp' |
32 | 32 |
|
@@ -83,7 +83,7 @@ yarn build -w |
83 | 83 | In a duplicate terminal tab, enter the following commands: |
84 | 84 | ```bash |
85 | 85 | cd examples |
86 | | -yarn link @blockone/ual-reactjs-renderer |
| 86 | +yarn link ual-reactjs-renderer |
87 | 87 | yarn |
88 | 88 | yarn example |
89 | 89 | ``` |
|
0 commit comments