Skip to content

Commit

Permalink
US1762599: add customType to AccessCheckoutTextInputManager to allow …
Browse files Browse the repository at this point in the history
…color to be parsed correctly from demo-app
  • Loading branch information
jmensahWP committed Jan 15, 2024
1 parent 4dd0023 commit 1452e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AccessCheckoutTextInputManager(private val callerContext: ReactApplication
/**
* Properties
*/
@ReactProp(name = ViewProps.COLOR)
@ReactProp(name = ViewProps.COLOR, customType = "Color")
fun setRTCTextColor(accessCheckoutEditText: AccessCheckoutEditText, color: Int) {
accessCheckoutEditText.setTextColor(color)
}
Expand Down
4 changes: 1 addition & 3 deletions demo-app/e2e/cardFlow.e2e.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { device, expect } = require('detox');
const { expect: jestExpect } = require('expect');
const {
sessionRegEx,
} = require('./helpers/RegularExpressions');
const { sessionRegEx } = require('./helpers/RegularExpressions');
const { CardFlowPO } = require('./page-objects/CardFlowPO');
const { CardFlowStatesPO } = require('./page-objects/CardFlowStatesPO');
/* eslint-enable @typescript-eslint/no-var-requires */
Expand Down

0 comments on commit 1452e8a

Please sign in to comment.