backgroundColor

inline fun Style.backgroundColor(@ColorInt backgroundColor: Int): Style

Sets ColorDrawable of the given color as a background on the View this Component mounts to. Setting this property will cause the Component to be represented as a View at mount time if it wasn't going to already.

See android.view.View.setBackgroundColor


inline fun Style.backgroundColor(@ColorInt backgroundColor: Long): Style