@deemlol/next-icons 0.0.2 → 0.0.3
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 +6 -6
- package/dist/index.umd.js +2416 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +4 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Next Icons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Lightweight library for React and Next.js, designed for simplicity and seamless integration.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|

|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
|
|
9
9
|
## Important Information
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- Website is not done yet, so you can only see avaiable icons in the source code of the package, in **icons** folder.
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
|
-
yarn add next-icons@latest
|
|
15
|
+
yarn add @deemlol/next-icons@latest
|
|
16
16
|
|
|
17
17
|
or
|
|
18
18
|
|
|
19
|
-
npm i next-icons@latest
|
|
19
|
+
npm i @deemlol/next-icons@latest
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
23
|
```jsx
|
|
24
|
-
import { ArrowDown } from "next-icons";
|
|
24
|
+
import { ArrowDown } from "@deemlol/next-icons";
|
|
25
25
|
|
|
26
26
|
export default function Page() {
|
|
27
27
|
return <ArrowDown />;
|
|
@@ -31,7 +31,7 @@ export default function Page() {
|
|
|
31
31
|
You can also wrap your app inside a `NextIconsProvider` component, so every icon will have the same appearance. If you set specific props for each icon the Provider will be overwritten.
|
|
32
32
|
|
|
33
33
|
```jsx
|
|
34
|
-
import { ArrowDown, ArrowUp, NextIconsProvider } from "next-icons";
|
|
34
|
+
import { ArrowDown, ArrowUp, NextIconsProvider } from "@deemlol/next-icons";
|
|
35
35
|
|
|
36
36
|
export default function Page() {
|
|
37
37
|
return (
|