Closed FatahChan closed 5 months ago
Seems the issue was resolve in this commit
https://github.com/danstepanov/create-expo-stack/commit/11b6cc4d12a8018f376c1782301eb8768fd798f3
but has not been released yet
@FatahChan issue resolved in v2.6.5 of create-expo-stack
Issue tracker is ONLY used for reporting bugs. New features should be discussed on our discord, in the #cli channel.
ButtonProps
type is not imported in/components/Button.tsx
Expected Behavior
ButtonProps
type should be importedCurrent Behavior
ButtonProps
type is not importedPossible Solution
replace
import { Text, TouchableOpacity } from 'react-native';
with
import { ButtonProps, Text, TouchableOpacity } from 'react-native';
Steps to Reproduce
bun create expo-stack vidcorns --expo-router --nativewind --bun --supabase --import-alias --tabs
/components/Button.tsx
ButtonProps
is not importedContext (Environment)
Just created the app using
bun create expo-stack vidcorns --expo-router --nativewind --bun --supabase --import-alias --tabs
checked the components and noticed missing importDetailed Description
ButtonProps
type is not imported in/components/Button.tsx
Possible Implementation
import { ButtonProps, Text, TouchableOpacity } from 'react-native';