@asdp/ferryui 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 CHANGED
@@ -95,6 +95,33 @@ function App() {
95
95
  }
96
96
  ```
97
97
 
98
+ #### Using Assets
99
+
100
+ The `ModalRadius` component uses an illustration image by default. The asset is included in the published package. You have two options:
101
+
102
+ **Option 1: Copy assets to your public directory (Recommended)**
103
+
104
+ ```bash
105
+ # Copy assets from the package to your public directory
106
+ cp -r node_modules/@asdp/ferryui/dist/assets public/
107
+ ```
108
+
109
+ Or on Windows:
110
+
111
+ ```powershell
112
+ Copy-Item -Recurse node_modules/@asdp/ferryui/dist/assets -Destination public/
113
+ ```
114
+
115
+ **Option 2: Provide custom image**
116
+
117
+ ```tsx
118
+ <ModalRadius
119
+ open={isOpen}
120
+ onClose={() => setIsOpen(false)}
121
+ imageSrc="https://your-cdn.com/custom-image.svg"
122
+ />
123
+ ```
124
+
98
125
  ## Menggunakan Package di Project Lain
99
126
 
100
127
  ### 1. Setup .npmrc