akveo / kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.

Home Page:https://akveo.github.io/react-native-ui-kitten/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ericedelman-gh opened this issue Β· comments

πŸ› 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