question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No overload matches this call for `variantColor` in Button Typescript

See original GitHub issue

Bug report

Describe the bug

To reproduce

  1. Install chakra-ui using yarn add @chakra-ui/core @emotion/core @emotion/styled emotion-theming @chakra-ui/core@next
  2. Go to node_modules/@chakra-ui/button/dist/types/button.d.ts
  3. Scroll down to Button props
  4. Buton props don’t have variantColor

Minimal reproduction

Expected behavior

Screenshots

System information

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nimit95commented, Sep 30, 2020

Oh got it. https://chakra-ui.com/ doesn’t have anything to mention that it is v0 or some sort of warning 😅 Also, Google still indexes chakra-ui.com as a top result for chakra documentation

Thanks for the help

0reactions
ljosberinncommented, Sep 30, 2020

It’s not in the old docs because as you can see we’re replacing them entirely. Regardless, the new docs are mentioned right here: https://github.com/chakra-ui/chakra-ui#looking-for-the-documentation- 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

No overload matches this call. in typescript React
The error appears: No overload matches this call. Overload 1 of 2, '(props: Readonly): UserCode', gave the following error.
Read more >
No overload matches this call error in TypeScript | bobbyhadz
The error "No overload matches this call" occurs when we call a function and pass it a parameter that doesn't match any of...
Read more >
No overload matches this call with styled components - Medium
No overload matches this call in TypeScript is really annoying and there aren't too many solutions around there, though we have a solution!...
Read more >
Resolving React Native Paper 'No overload matches this call ...
Quick tip for getting past one of the more frustrating and cryptic TypeScript errors I've run into.
Read more >
No overload matches this call with styled components - Reddit
When creating a button component that could be a link or a normal button or submit for example (it could be any element...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found