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

listeners prop do not have types #860

Closed
muneebahmedayub opened this issue Aug 28, 2023 · 0 comments · Fixed by #861
Closed

listeners prop do not have types #860

muneebahmedayub opened this issue Aug 28, 2023 · 0 comments · Fixed by #861

Comments

@muneebahmedayub
Copy link
Contributor

muneebahmedayub commented Aug 28, 2023

Which package manager are you using? (Yarn is recommended)

yarn

Summary

When using Tabs.Screen or any other navigation, the listener prop do not have types.
Expected behaviour is to have types

Minimal reproducible example

_layout.tsx


import { Tabs } from "expo-router";

export default function RootLayout() {
  return (
    <Tabs>
      <Tabs.Screen name="index" listeners={{
        // here there should be typescript intellisense
      }} />
    </Tabs>
  );
}

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

Successfully merging a pull request may close this issue.

1 participant