Skip to content

Commit 029d439

Browse files
committed
Add docs
1 parent c7e787a commit 029d439

40 files changed

+4511
-55
lines changed

apps/sandbox/app.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"supportsTablet": true,
1818
"bundleIdentifier": "com.theoribbi.sandboxprimitives",
1919
"infoPlist": {
20-
"ITSAppUsesNonExemptEncryption": false
20+
"ITSAppUsesNonExemptEncryption": false,
21+
"NSPhotoLibraryUsageDescription": "This app needs access to your photo library to let you select and upload images.",
22+
"NSPhotoLibraryAddUsageDescription": "This app needs access to save photos to your photo library."
2123
}
2224
},
2325
"android": {
@@ -49,7 +51,14 @@
4951
},
5052
"plugins": [
5153
"expo-router",
52-
"@native-ui-org/native-modules"
54+
"@native-ui-org/native-modules",
55+
[
56+
"expo-image-picker",
57+
{
58+
"photosPermission": "This app needs access to your photo library to let you select and upload images.",
59+
"cameraPermission": "This app needs access to your camera to take photos."
60+
}
61+
]
5362
],
5463
"extra": {
5564
"router": {},

apps/sandbox/app/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const primitives = [
66
{ name: "View", path: "/preview/view", description: "Layout container with cross‑platform a11y & asChild" },
77
{ name: "Text", path: "/preview/text", description: "Unified Text: RN on mobile, semantic tags on web" },
88
{ name: "Button", path: "/preview/button", description: "Unstyled, accessible button wrapper around Pressable" },
9+
{ name: "Field", path: "/preview/field", description: "Unstyled input field wrapper around TextInput, compatible with forms" },
910
{ name: "Collapsible", path: "/preview/collapsible", description: "Expandable content with controlled/uncontrolled state" },
1011
{ name: "Accordion", path: "/preview/accordion", description: "Grouped collapsibles with single or multiple selection" },
1112
{ name: "Alert", path: "/preview/alert", description: "Cross-platform alerts: native on mobile, custom on web" },

0 commit comments

Comments
 (0)