Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import androidx.annotation.ColorInt
import com.facebook.react.modules.i18nmanager.I18nUtil

internal data class ColorEdges(
@ColorInt val left: Int = Color.BLACK,
@ColorInt val top: Int = Color.BLACK,
@ColorInt val right: Int = Color.BLACK,
@ColorInt val bottom: Int = Color.BLACK,
@param:ColorInt val left: Int = Color.BLACK,
@param:ColorInt val top: Int = Color.BLACK,
@param:ColorInt val right: Int = Color.BLACK,
@param:ColorInt val bottom: Int = Color.BLACK,
)

@JvmInline
internal value class BorderColors(
@ColorInt val edgeColors: Array<Int?> = arrayOfNulls<Int?>(LogicalEdge.values().size)
@param:ColorInt val edgeColors: Array<Int?> = arrayOfNulls<Int?>(LogicalEdge.values().size)
) {

fun resolve(layoutDirection: Int, context: Context): ColorEdges {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.facebook.react.bridge.ReadableType
public data class BoxShadow(
val offsetX: Float,
val offsetY: Float,
@ColorInt val color: Int? = null,
@param:ColorInt val color: Int? = null,
val blurRadius: Float? = null,
val spreadDistance: Float? = null,
val inset: Boolean? = null,
Expand Down
Loading