FaridSafi / react-native-gifted-form

📝 « One React-Native form component to rule them all »
MIT License
1.44k stars 214 forks source link

ErrorsWidget - Add missing type prop. Add empty view+style. #130

Closed sambwest closed 1 year ago

sambwest commented 6 years ago

1) Added missing type prop. Without it you cannot apply any styles. 2) Added a styleable empty view if there aren't any errors. This enables you to style the widget even if there aren't any errors. In my case I want the errors widget to have a height so it doesn't jump around when errors are generated.

sambwest commented 6 years ago

Hey @cooperka,

Are you still managing this repo? Any chance of a merge (wink wink)

cooperka commented 6 years ago

Hi @sambwest, unfortunately I've moved off of react native for the time being; I'd love to help but I have no way of testing this locally 😿

For now you can use this in your own app via your fork. Let me know if you want help with that.

sambwest commented 6 years ago

Hi @cooperka - ok, no problem. Good luck in your endeavours!