react-native-common-ui-components

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

Usage no npm install needed!

<script type="module">
  import reactNativeCommonUiComponents from 'https://cdn.skypack.dev/react-native-common-ui-components';
</script>

README

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.