Unable to resolve issue " Type '{ children: undefined; horizontal: true; }' is not assignable to type 'IntrinsicAttributes & { children: ReactNode; sizes?: number[] | undefined; vertical?: boolean | undefined; onChange?: ((sizes: number[]) => void) | undefined; } & CommonProps'. Property 'horizontal' does not exist on type 'IntrinsicAttributes & { children: ReactNode; sizes?: number[] | undefined; vertical?: boolean | undefined; onChange?: ((sizes: number[]) => void) | undefined; } & CommonProps'." #585
Unanswered
Aishwaryakakade
asked this question in
Q&A
Replies: 1 comment
|
Could you try removing the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have just started coding in react and I am unable to resolve this issue while using Allotment package .
I am trying to use , but stuck as I am not able to resolve this issue :
Type '{ children: undefined; horizontal: true; }' is not assignable to type 'IntrinsicAttributes & { children: ReactNode; sizes?: number[] | undefined; vertical?: boolean | undefined; onChange?: ((sizes: number[]) => void) | undefined; } & CommonProps'.
Property 'horizontal' does not exist on type 'IntrinsicAttributes & { children: ReactNode; sizes?: number[] | undefined; vertical?: boolean | undefined; onChange?: ((sizes: number[]) => void) | undefined; } & CommonProps'.
This is how my App.tsx looks
How do I resolve this? Kindly help
All reactions