typescript-hapi-react-hot-loader-example
typescript-hapi-react-hot-loader-example copied to clipboard
ContactForm Type ... is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes
`src/views/contact/ContactForm.tsx:16:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; placeholder: string; type: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
16 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:25:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; placeholder: string; type: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
25 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:40:22 - error TS2322: Type '{ label: string; name: string; component: (field: any) => Element; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'name' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
40 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:47:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; placeholder: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
47 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:57:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; option: string; checked: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
57 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:64:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; option: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
64 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:70:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; option: string; disabled: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
70 <CustomField ~~~~~~~~~~~
src/views/contact/ContactForm.tsx:79:22 - error TS2322: Type '{ component: (field: any) => Element; label: string; name: string; type: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'. Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Field<{ label?: string; placeholder?: string; type?: string; option?: string; checked?: boolean; disabled?: boolean; }>> & Readonly<{ label?: string; ... 4 more ...; disabled?: boolean; }> & Readonly<...>'.
79 <CustomField ~~~~~~~~~~~`