@twinmatrix/ui-sdk 0.0.1 → 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 +13 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/styles.css +1 -0
- package/lib/types/internal/ui/topbar/SelectBase.d.ts.map +1 -1
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -8,6 +8,19 @@ This SDK is used as a git dependency in TwinMatrix applications. It will be clon
|
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
### Import Styles (Required)
|
|
12
|
+
|
|
13
|
+
The SDK includes precompiled Tailwind CSS styles. **You must import the stylesheet** in your app entry point:
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// In your main.tsx or App.tsx (app entry point)
|
|
17
|
+
import '@twinmatrix/ui-sdk/styles.css';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
This is the **only styling requirement** - no Tailwind configuration needed in your app!
|
|
21
|
+
|
|
22
|
+
### Use Components
|
|
23
|
+
|
|
11
24
|
```typescript
|
|
12
25
|
import {
|
|
13
26
|
DashboardShell,
|