From cb1e81126a7427bec4655d76ee9d0b8b56c8f5a1 Mon Sep 17 00:00:00 2001 From: Robin Heidenis Date: Mon, 8 Apr 2024 21:14:18 +0200 Subject: [PATCH] refactor: change type to interface and add example meta to example apps --- example/basic/App.tsx | 2 +- example/expo-router/app/shareintent.tsx | 3 +++ example/react-navigation/app/ShareIntentScreen.tsx | 3 +++ src/ExpoShareIntentModule.types.ts | 7 +++---- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/example/basic/App.tsx b/example/basic/App.tsx index 7bb2890..9cf9417 100644 --- a/example/basic/App.tsx +++ b/example/basic/App.tsx @@ -20,7 +20,7 @@ export default function App() { {!!shareIntent.text && {shareIntent.text}} {!!shareIntent.meta?.title && ( - {JSON.stringify(shareIntent.meta)} + {JSON.stringify(shareIntent.meta)} )} {shareIntent?.files?.map((file) => ( )} {!!shareIntent.text && {shareIntent.text}} + {!!shareIntent.meta?.title && ( + {JSON.stringify(shareIntent.meta)} + )} {shareIntent?.files?.map((file) => ( {!!shareIntent.text && {shareIntent.text}} + {!!shareIntent.meta?.title && ( + {JSON.stringify(shareIntent.meta)} + )} {shareIntent?.files?.map((file) => (