ab-nextjs-components 0.1.0 → 0.1.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 +12 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,26 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
> IMPORTANT: This is a work in progress and subject to major changes until version 1.0.
|
|
4
4
|
|
|
5
|
-
🚀 This is a lightweight collection of server & client React
|
|
5
|
+
🚀 This is a lightweight collection of server & client React components created by [Abraham Ukachi](https://github.com/abraham-ukachi), and optimized for [Next.js](https://nextjs.org/docs) applications 😎.
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
## Getting Started
|
|
9
9
|
|
|
10
10
|
### Installation
|
|
11
11
|
|
|
12
|
+
#### npm
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm i ab-nextjs-components
|
|
16
|
+
```
|
|
17
|
+
|
|
12
18
|
#### pnpm
|
|
13
19
|
|
|
14
20
|
```bash
|
|
15
|
-
pnpm install
|
|
21
|
+
pnpm install ab-nextjs-components
|
|
16
22
|
```
|
|
17
23
|
|
|
24
|
+
---
|
|
25
|
+
|
|
18
26
|
### Types
|
|
19
27
|
|
|
20
|
-
All the types are located in the `types` folder.
|
|
21
|
-
A specific type like *`AbButtonProps`* can be imported directly like this:
|
|
28
|
+
All the types are located in the `types` folder. A specific type like *`AbButtonProps`* can be imported directly:
|
|
22
29
|
|
|
23
30
|
```ts
|
|
24
|
-
import type { AbButtonProps } from '
|
|
31
|
+
import type { AbButtonProps } from 'ab-nextjs-components';
|
|
25
32
|
```
|
|
26
33
|
|
|
27
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ab-nextjs-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "🚀 A lightweight collection of server & client React components created by Abraham Ukachi, and optimized for Next.js applications 😎.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|