/ UI

A button React Native component supporting showing different states with animations

A button React Native component supporting showing different states with animations

React Native Awesome Button

An component that creates a button depicting different states in terms of e.g. color and label text. When a new buttonState is passed to the component the button will animate transition to the new appearance specified upon initiation. You can also pass in different functions to be called on touch depending of the current state of the button.

In this example, a simple button with only one appearance and onPress-function will be rendered. This would produce something like this:
React Native Awesome Button

GitHub

Comments