Answers for "add shadow border to image react native"

0

shadow border react native

shadowColor: "#000",
shadowOffset: {
	width: 0,
	height: 11,
},
shadowOpacity: 0.55,
shadowRadius: 14.78,

elevation: 22,
Posted by: Guest on March-24-2021
0

react native bordered image drop with shadow fix

<View
	style={{
       flexGrow: 1,
       backgroundColor: Colors.white,
       borderTopLeftRadius: 40,
       borderTopRightRadius: 40,
      }}
>
          <View
            style={[
              Theme.center,
              Theme.dropShadow,
              {
                top: -100,
                width: 190,
                height: 190,
                borderRadius: 190 / 2,
                backgroundColor: Colors.white,
              },
            ]}
          >
            <Image
              source={require("../../assets/resto/chef_jude.png")}
              style={[
                {
                  width: 180,
                  height: 180,
                  borderRadius: 180 / 2,
                },
              ]}
            />
          </View>
        </View>
Posted by: Guest on November-11-2020

Code answers related to "add shadow border to image react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language