type error Property 'copilot' is missing in type
Current Behavior A clear and concise description of the behavior. hi I'm start this library, I had a problem following the tutorial
it is just type error, but i want fix it what do i need to fix?
const CopilotText = walkthroughable(View);
function CreateMeetingRoomButton() {
const styles = useStyles();
const goToCreateMeetingScreen = useGoToCreateMeetingScreen(
MeetingMode.create,
);
const { start } = useCopilot();
return (
<View style={styles.buttonContainer}>
<Button text="시작" onPress={() => start()} />
<CopilotStep text="this is a hello world example" order={1} name="hello">
<CopilotText testID="gg">
<IconButton
icon={{
iconName: 'add',
size: styles.buttonIcon.size,
color: styles.buttonIcon.color,
}}
onPress={goToCreateMeetingScreen}
style={styles.button}
/>
</CopilotText>
</CopilotStep>
</View>
);
}
Expected behavior/code A clear and concise description of what you expected to happen (or code).
Environment
- Device: android emulator
- OS: window, vscode
-
react-native-copilot: 3.2.0 -
react-native: 0.70.5 -
react-native-svg:13.4.0
Possible Solution
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.
same issue here
I will look into this
I just added copilot={null} on <CopilotStep /> component and the error has gone.
I am having this issue, how can I fix it?
getting this too