akveo / kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.
https://akveo.github.io/react-native-ui-kitten/
MIT License
7.17k stars 986 forks source link

"icon" property should be "accessoryLeft" or "accessoryRight" #301

Closed ericedelman-gh closed 3 years ago

ericedelman-gh commented 4 years ago

🐛 Bug Report

The sample layouts in Kitten Tricks are using "icon" as a property for buttons and input fields. This does not correspond with the API documentation for UI Kitten, which specifies "accessoryLeft" or "accessoryRight".

To Reproduce

Copy the sample code for any of the layouts that use icons as decoration for buttons or input fields, for example most of the authentication screens. Run the code.

Expected behavior

When running the sample code, the icons should appear.

UI Kitten and Eva version

Package Version
@eva-design/eva 5.0.0
@ui-kitten/components 1.3.1