Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export prop typs so HOCs can be made #137

Open
CoryWritesCode opened this issue Jan 20, 2022 · 0 comments
Open

Export prop typs so HOCs can be made #137

CoryWritesCode opened this issue Jan 20, 2022 · 0 comments

Comments

@CoryWritesCode
Copy link

CoryWritesCode commented Jan 20, 2022

At the moment there is no way for you to import { Chart, ChartProps } from 'react-native-responsive-chart' so you could make a HOC to utilize the chart but with your own customization. It would be nice if you could export the prop types so this could be a reality.

example

Side note

I might try and do this for you when I get some free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant