JesperLekland / react-native-svg-charts

📈 One library to rule all charts for React Native 📊
MIT License
2.36k stars 410 forks source link

Module '"react-native-svg-charts"' has no exported member 'YAxis'.ts #480

Open cvlehe opened 4 years ago

cvlehe commented 4 years ago

What is the problem?

Seeing import error for YAxis.

Screen Shot 2020-06-18 at 1 42 01 PM

LineChart imports fine. Still able to use YAxis but receiving lint error on import.

When does it happen?

When importing YAxis.

What platform?

react-native-svg-charts version: 5.4.0

ajacquierbret commented 4 years ago

Hi @cvlehe ! Try to install types : yarn add @types/react-native-svg-charts or npm i @types/react-native-svg-charts. I think it'll solve your issue !

cvlehe commented 4 years ago

I've installed the types but getting the same error. Any other info I can send you?