Button
Extends:
react-native~Component → Button
Constructor Summary
Public Constructor | ||
public |
constructor(props: object) |
Public Constructors
public constructor(props: object) source
Params:
Name | Type | Attribute | Description |
props | object | ||
props.value | string | Button Text. If language is english, all letters should be capitalized. |
|
props.disabled | boolean |
|
if |
props.theme | enum(THEME_NAME) |
|
Button Theme |
props.primary | enum(COLOR_NAME) |
|
Primary color name |
props.raised | boolean |
|
Whether Button looks like raised or not. If in a Modal, should not be |
props.onPress | function |
|
Function will be triggered when click the Button |