Version 1.7.19 seems to break build #3102
Unanswered
sebastianamaro
asked this question in
Help
Replies: 2 comments
-
Can you share a minimal reproduction repo? The <Tab>
{({ selected, disabled }) => {
return // ^^^^^^^^ is also exposed now
}}
</Tab> It looks like you are trying to do some custom things and overriding internal information, e.g.: Is this from a component you wrote, or from some library you are using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, has this problem been resolved? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a tailwind template, which inside a Tab component, it has this code
<HeadlessTab as={Fragment}> {({ selected }) => ( <li className={twMerge([ "focus-visible:outline-none", fullWidth && "flex-1", list.variant == "tabs" && "-mb-px", className, ])} {...props} > <tabContext.Provider value={{ selected: selected, }} > {typeof children === "function" ? children({ selected: selected, }) : children} </tabContext.Provider> </li> )} </HeadlessTab>
When building using the latest (1.7.19) version, it fails with this error
Property 'disabled' is missing in type '{ selected: boolean; }' but required in type 'TabRenderPropArg'.
I cant seem to do any change that works.
This works with version 1.7.18
Beta Was this translation helpful? Give feedback.
All reactions