1.0.8 • Published 7 years ago
button-test v1.0.8
TEST react component(Button) just to practise.
Usage:
import {Button} from "button-test";
""
Props:
bgColor: background color of the button
textColor: font-color of the button
text: Text on button element
onPress: event handler
Available colors:
white: '#FFFFFF',
info: '#1FB6FF',
success: '#13CE66',
danger: '#FF4949',
warning: '#FFC82C',
or any HEX
Props are only strings:
text: PropTypes.string, bgColor: PropTypes.string, textColor: PropTypes.string