I have a problem when i trying to import the module in my code. When i do this:
import React from 'react';
import WeatherIcons from 'react-weathericons';
const WeatherTemperature = ({ temperature, weatherState }) => (
<div>
<WeatherIcons name="cloud" size="2x" />
<span>{`${temperature} Cº`}</span>
</div>
);
The code report an error with react-weathericons module. It says that i need @types for de modole or the file .d.ts. When i create this file the error disappears, but the icons are still not show.
Node Version: 8.11.4
npm Version: 5.6.0