Parameters
Shadow configuration object.
Applies a shadow effect to this view.
.shadow(props?: { radius: number; x?: number; y?: number, color?: Color | ColorProps }): Component;
Rectangle()
.fill(Color("white"))
.shadow({ radius: 8 })
Text("Shadowed text")
.shadow({ radius: 4, x: 2, y: 2 })
Circle()
.fill(Color("blue"))
.shadow({ radius: 6, color: Color("red") })