stripe-android
payments-ui-core
/
com.stripe.android.ui.core.elements
/
TextFieldIcon
Text
Field
Icon
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
TextFieldIcon
(
@
DrawableRes
idRes
:
Int
,
@
StringRes
contentDescription
:
Int
?
,
isIcon
:
Boolean
)
Content copied to clipboard
Properties
Properties
contentDescription
Link copied to clipboard
val
contentDescription
:
Int
?
=
null
Content copied to clipboard
idRes
Link copied to clipboard
val
idRes
:
Int
Content copied to clipboard
isIcon
Link copied to clipboard
val
isIcon
:
Boolean
Content copied to clipboard
If it is an icon that should be tinted to match the text the value should be true