1.0.4 • Published 5 years ago
button-magnificent v1.0.4
MButton
A custom Button Element for React Native apps. MButton includes native features of the React Native Button and allows easy styling which is not possible with a standard React Native Button.
Changelog
- 1.0.1 - Fix Import Bug
- 1.0.2 - Add Support for User Styles and Update README.md
- 1.0.3 - Fix Import Bug
Installation
npm install --save button-magnificent
Usage
import MButton from 'button-magnificent';
<MButton onPress={() => this.handleChangeStatusBarColour()}>
Toggle Status Bar Colour
</MButton>
Supported Props:
style
onPress
accessibilityLabel
accessibilityRole
allowFontScaling (For button text resizing via accessibility controls)
maxFontSizeMultiple