Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type error Property 'copilot' is missing in type #277

Open
bananana0118 opened this issue Mar 28, 2023 · 5 comments
Open

type error Property 'copilot' is missing in type #277

bananana0118 opened this issue Mar 28, 2023 · 5 comments
Labels

Comments

@bananana0118
Copy link

bananana0118 commented Mar 28, 2023

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.

bbbb

@joaodias-rms
Copy link

same issue here

@mohebifar
Copy link
Owner

I will look into this

@mohebifar mohebifar added the bug label Apr 13, 2023
@anabeatrizzz
Copy link

I just added copilot={null} on <CopilotStep /> component and the error has gone.

@UchennaOkafor
Copy link

I am having this issue, how can I fix it?

@alex-martino
Copy link

getting this too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants