Closed hetmann closed 4 years ago
Hey @hetmann. Just added these new features on the last PR #41 but I'm now thinking that the Block component just accepts a huge amount of props. It can be styling, event handlers, and now that list from ScrollView. For someone using this lib can be hard to remember everything that could be passed. Maybe it is time to start adding typescript?
Hey @hetmann. Just added these new features on the last PR #41 but I'm now thinking that the Block component just accepts a huge amount of props. It can be styling, event handlers, and now that list from ScrollView. For someone using this lib can be hard to remember everything that could be passed. Maybe it is time to start adding typescript?
You are right. I had this in my backlog and right now I created the issue #42 . I was thinking that a type definition for each component would work for now.