react-native-common-ui-components

2.5.0 • Public • Published

UI components that are commonly used in RN projects. One day it will be commented properly.

Usage

  1. ToggleButtons
  2. Button
  3. MaterialSwitch
  4. ProgressBar
  5. Knob

ToggleButtons

Button

MaterialSwitch

ProgressBar

Knob

Version history

Version number Changes
v2.5.0 combineStyles() - runtimeStyle can be an array.
v2.4.0 Knob.componentDidUpdate() - initialValue can be updated.
v2.3.0 Knob: onTouch() / onRelease() handlers added.
v2.2.0 Knob:
1. defaultProps.initialValue = 0.
2. props.snap added.
3. The new value is ignored if the onValueChange() handler returns false.
v2.1.0 Button.onPress() / onLongPress() - alert only in the DEV-mode.
v2.0.2 TouchContainer / Slider can be used inside scrollable views.
v2.0.1 References to AlterStyles removed from toggle buttons classes.
v2.0.0 1. core-decorators and @autobind are no longer used.
2. Really lots of stuff changed.
v1.4.0 buttonDisabled style added.
v1.3.0 Button updated.
v1.2.1 Knob updated.
v1.1.1 1. Fixed bugs in styles.js.
2. Knob updated.
v1.1.0 1. Predefined styles for components are moved here from react-native-common-utils.
2. Knob is added.
v1.0.0 Initial release.



Written with StackEdit.

Package Sidebar

Install

npm i react-native-common-ui-components

Weekly Downloads

28

Version

2.5.0

License

MIT

Unpacked Size

40.4 kB

Total Files

16

Last publish

Collaborators

  • robinbobin