@xlabs-store/react 0.0.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 +42 -0
- package/dist/README.md +7 -0
- package/dist/fonts/xlabs-outlined.woff2 +0 -0
- package/dist/fonts/xlabs-rounded.woff2 +0 -0
- package/dist/fonts/xlabs-solided.woff2 +0 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +13638 -0
- package/dist/lib/components.d.ts +597 -0
- package/dist/lib/components.d.ts.map +1 -0
- package/dist/package.json +25 -0
- package/dist/styles.css +1 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://xlabs.fint.vn">
|
|
3
|
+
<img width="80" src="https://xlabs.fint.vn/favicon.ico?favicon.c0779518.ico">
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
# @xlabs-store/react
|
|
8
|
+
|
|
9
|
+
Native React UI component library based on Design Tokens. Full support for modern React features including Hooks and Server Components.
|
|
10
|
+
|
|
11
|
+
[](https://www.npmjs.com/package/@xlabs-store/react)
|
|
12
|
+
[](https://github.com/fint-vn/xlabs/blob/main/LICENSE)
|
|
13
|
+
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://user-images.githubusercontent.com/507615/209472919-6f7e8561-be8c-4b0b-9976-eb3c692aa20a.png" width="100%" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## 📦 Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @xlabs-store/react
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## ⌨️ Usage
|
|
25
|
+
|
|
26
|
+
```jsx
|
|
27
|
+
import { Button } from '@xlabs-store/react';
|
|
28
|
+
import '@xlabs-store/core/dist/styles.css';
|
|
29
|
+
|
|
30
|
+
const App = () => (
|
|
31
|
+
<Button type="primary">React Button</Button>
|
|
32
|
+
);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## 🚀 Native Performance
|
|
36
|
+
|
|
37
|
+
Each component is optimized specifically for React through advanced serialization and event management, ensuring the lowest possible memory footprint and highest re-rendering performance.
|
|
38
|
+
|
|
39
|
+
## 🔗 Links
|
|
40
|
+
|
|
41
|
+
- [Official Documentation](https://xlabs.fint.vn)
|
|
42
|
+
- [Main Repository (Mono-repo)](../../README.md)
|
package/dist/README.md
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,KAAK,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC"}
|