8000 `Tabs` is not compatible with `styled-components` · Issue #7443 · palantir/blueprint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tabs is not compatible with styled-components #7443

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

Open
Lonli-Lokli opened this issue Apr 29, 2025 · 0 comments
Open

Tabs is not compatible with styled-components #7443

Lonli-Lokli opened this issue Apr 29, 2025 · 0 comments

Comments

@Lonli-Lokli
Copy link
Lonli-Lokli commented Apr 29, 2025

Environment

  • Package version(s): 5.17
  • Operating System: win11
  • Browser name and version: chrome

Code Sandbox

https://codesandbox.io/p/sandbox/7kdpkw

Steps to reproduce

Actual behavior

Argument of type 'typeof Tabs' is not assignable to parameter of type 'WebTarget'.
  Type 'typeof Tabs' is not assignable to type 'ComponentClass<any, any>'.
    Types of property 'getDerivedStateFromProps' are incompatible.
      Type '({ selectedTabId }: TabsProps) => { selectedTabId: TabId; } | null' is not assignable to type 'GetDerivedStateFromProps<any, any>'.
        Types of parameters '__0' and 'nextProps' are incompatible.
          Property 'id' is missing in type 'Readonly<any>' but required in type 'TabsProps'.typescript(2345)

Expected behavior

No TS errors

Possible solution

@jscheiny jscheiny self-assigned this May 5, 2025
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

No branches or pull requests

2 participants
0