shapeComponent

fun shapeComponent(color: Color = Color.Black, shape: Shape = Shape.Rectangle, margins: Dimensions = Dimensions.Empty, strokeColor: Color = Color.Transparent, strokeThickness: Dp = 0.dp, shader: DynamicShader? = null, shadow: Shadow? = null): ShapeComponent

Creates a ShapeComponent.