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 |
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 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
Beta Was this translation helpful? Give feedback.
All reactions