Skip to content

Commit 1f86204

Browse files
bidahclaude
andcommitted
✨ feat(preview): add info card about Expo Go requirement for QR code
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 22f5afc commit 1f86204

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎apps/web/components/preview-panel.tsx‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,17 @@ Run 'npm install react-native-gesture-handler' or 'yarn add react-native-gesture
995995
<circle cx="12" cy="12" r="10" strokeWidth="2"/>
996996
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M12 16v-4m0-4h.01"/>
997997
</svg>
998-
<span>Your browser does not have all of features that phones support.</span>
998+
<span>QR code does not work without Expo Go app installed on your phone.</span>
999+
</p>
1000+
</div>
1001+
1002+
<div className="bg-muted/50 rounded-lg p-4 space-y-3 border border-muted max-w-[270px]">
1003+
<p className="text-sm text-muted-foreground flex items-start gap-2">
1004+
<svg className="w-5 h-5 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
1005+
<circle cx="12" cy="12" r="10" strokeWidth="2"/>
1006+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M12 16v-4m0-4h.01"/>
1007+
</svg>
1008+
<span>Your browser does not have all of the features that phones support.</span>
9991009
</p>
10001010
<p className="text-sm text-muted-foreground pl-7">
10011011
For the full experience, test your app on your phone using the Expo Go app.

0 commit comments

Comments
 (0)