title: Why does my code type get a warning?　"warning Missing return type on function"
body: <p>I am making an icon component using svg.
  My code type gives a warning.</p>
  <p>&quot;warning  Missing return type on function&quot;
  I want to use svg as a component.
  eslint warning is displayed.</p>
  <pre><code>import * as React from &quot;react&quot;;
  
  export const Icon = () =&gt; {
    return (
      &lt;svg viewBox=&quot;&quot;&gt;
        &lt;path
         ・
  　　　　　　　　　　　　　　・
  　　　　　　　　　　　　　　・
        /&gt;
      &lt;/svg&gt;
    );
  };
  </code></pre>