2:7 error 'TypesOfFruit' is assigned a value but never used. (no-unused-vars)
3:3 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
4:5 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
5:5 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
6:7 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
7:7 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
8:7 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
9:7 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
14:7 error 'Fruits' is assigned a value but never used. (no-unused-vars)
15:3 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
22:1 error Component should be written as a pure function (react/prefer-stateless-function)
22:7 error 'TypesOfFood' is defined but never used. (no-unused-vars)
22:27 error 'React' is not defined. (no-undef)
23:3 error Useless constructor. (no-useless-constructor)
29:7 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)
30:9 error 'React' must be in scope when using JSX (react/react-in-jsx-scope)