@rash2x/bridge-widget 0.2.2 → 0.2.10

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 CHANGED
@@ -47,6 +47,24 @@ npm install @tonconnect/ui-react @ton/core @ton/crypto @ton/ton
47
47
  npm install @tronweb3/tronwallet-adapter-react-hooks @tronweb3/tronwallet-adapters tronweb
48
48
  ```
49
49
 
50
+ ### Required shadcn/ui Components
51
+
52
+ This library requires certain shadcn/ui components to be installed in your project. The library does **not bundle** these components to avoid duplication and allow you to use your own styled versions.
53
+
54
+ **Required components:** `accordion`, `button`, `card`, `dialog`, `input`, `skeleton`, `switch`, `tooltip`
55
+
56
+ Install them using shadcn CLI:
57
+
58
+ ```bash
59
+ npx shadcn@latest add accordion button card dialog input skeleton switch tooltip
60
+ ```
61
+
62
+ **Important:** Your project must have the following path aliases configured:
63
+ - `@/components/ui` - for UI components
64
+ - `@/lib/utils` - for the `cn` utility function
65
+
66
+ For detailed setup instructions, see [SHADCN_COMPONENTS.md](./SHADCN_COMPONENTS.md).
67
+
50
68
  ## Quick Start
51
69
 
52
70
  ### 1. Basic Setup