@lotics/ui 27.17.0 → 27.17.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/package.json +1 -1
- package/src/icon.tsx +10 -0
package/package.json
CHANGED
package/src/icon.tsx
CHANGED
|
@@ -9,8 +9,18 @@
|
|
|
9
9
|
* (find the file name via: grep "IconName" node_modules/lucide-react-native/dist/esm/lucide-react-native.js)
|
|
10
10
|
* 2. Add the icon to the iconComponents object with kebab-case key
|
|
11
11
|
* The type will be automatically derived from the object keys.
|
|
12
|
+
*
|
|
13
|
+
* The reference below is load-bearing, not tidiness: lucide ships these icon
|
|
14
|
+
* files as JS with no `.d.ts` and does not list them in its `exports`, so the
|
|
15
|
+
* ambient declaration beside this file is the only thing that types them. An
|
|
16
|
+
* ambient file joins a program only when the program INCLUDES it, and a
|
|
17
|
+
* consumer's `include` covers the consumer's own directory — never ours. Every
|
|
18
|
+
* consumer therefore has to reach it through the file that needs it, which is
|
|
19
|
+
* this one.
|
|
12
20
|
*/
|
|
13
21
|
|
|
22
|
+
/// <reference path="./lucide-react-native.d.ts" />
|
|
23
|
+
|
|
14
24
|
import { View } from "react-native";
|
|
15
25
|
import Activity from "lucide-react-native/dist/esm/icons/activity";
|
|
16
26
|
import TextAlignCenter from "lucide-react-native/dist/esm/icons/text-align-center";
|