|
@@ -38,7 +38,6 @@ export default class FormComp extends Module {
|
|
|
//Init
|
|
|
if(!inputs) inputs = Inp;
|
|
|
if(!inputsMargin) inputsMargin = 7
|
|
|
- if(!backgroundColor) backgroundColor = "#f7e6ff"
|
|
|
|
|
|
|
|
|
let Inputs = Object.keys(inputs).map((key,indx) => {
|
|
@@ -66,8 +65,8 @@ export default class FormComp extends Module {
|
|
|
{Inputs}
|
|
|
<Button
|
|
|
onPress = {(e) => fn(e)}
|
|
|
- title={this.props.ButtonText || "Submit"}
|
|
|
- color={this.props.ButtonColor || "#008CBA"}
|
|
|
+ title={this.props.ButtonText }
|
|
|
+ color={this.props.ButtonColor}
|
|
|
accessibilityLabel="Learn more about this purple button"
|
|
|
/>
|
|
|
</View>)
|
|
@@ -97,8 +96,8 @@ FormComp.Inputs = {
|
|
|
],*/
|
|
|
inputs:new Types.Object().require(),
|
|
|
ButtonText:new Types.Text().require().default('Submit'),
|
|
|
- ButtonColor: new Types.Text().require().color().default('#008CBA'),
|
|
|
- backgroundColor: new Types.Text().require().color().default('#03DAC6'),
|
|
|
+ ButtonColor: new Types.Text().require().color().default('rgba(3, 218, 198, 1)'),
|
|
|
+ backgroundColor: new Types.Text().require().color().default('rgba(0, 140, 186, 1)'),
|
|
|
Formtitle: new Types.Text().require()
|
|
|
}
|
|
|
|