@kyle-test/zto-react-kit 0.0.0-alpha.2 → 0.0.0-alpha.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 +7 -7
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @ztolabs/react-kit
|
|
2
2
|
|
|
3
3
|
A modern React component library built with TypeScript, Tailwind CSS, and Radix UI primitives.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @ztolabs/react-kit
|
|
9
9
|
# or
|
|
10
|
-
yarn add @
|
|
10
|
+
yarn add @ztolabs/react-kit
|
|
11
11
|
# or
|
|
12
|
-
pnpm add @
|
|
12
|
+
pnpm add @ztolabs/react-kit
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
|
-
import { Badge, Breadcrumb, Button } from '@
|
|
19
|
-
import '@
|
|
18
|
+
import { Badge, Breadcrumb, Button } from '@ztolabs/react-kit';
|
|
19
|
+
import '@ztolabs/react-kit/styles';
|
|
20
20
|
|
|
21
21
|
function App() {
|
|
22
22
|
return (
|
|
@@ -42,7 +42,7 @@ function App() {
|
|
|
42
42
|
This library uses Tailwind CSS. Make sure to include the styles:
|
|
43
43
|
|
|
44
44
|
```tsx
|
|
45
|
-
import '@
|
|
45
|
+
import '@ztolabs/react-kit/styles';
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## TypeScript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyle-test/zto-react-kit",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React component library with modern UI components",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
+
"sideEffects": false,
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
14
15
|
"import": "./dist/index.js",
|