@rabbitio/ui-kit 1.0.0-alpha.9 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,11 +4,19 @@ npm install --save @rabbitio/ui-kit
4
4
  ~~~
5
5
 
6
6
  # Using library
7
- 1. To use components just import them
7
+ 1. To use components for web import the following way:
8
+ ~~~
9
+ import { Button } from "@rabbitio/ui-kit/web";
10
+ ~~~
11
+ 2. To use components for node import the following way:
12
+ ~~~
13
+ import { Button } from "@rabbitio/ui-kit/node";
14
+ ~~~
15
+ 3. To use components for next.js import the following way and add "@rabbitio/ui-kit" to transpilePackages inside your next.config.js:
8
16
  ~~~
9
17
  import { Button } from "@rabbitio/ui-kit";
10
18
  ~~~
11
- 2. [In progress] Also, you can import base styles into your scss index file:
19
+ 4. [In progress] Also, you can import base styles into your scss index file:
12
20
  ~~~
13
21
  @import "@rabbitio/ui-kit/styles/index";
14
22
  ~~~