[Solved] card view shadow effect only top side react native [closed]


install this librery

npm i react-native-drop-shadow
import this line
import DropShadow from "react-native-drop-shadow";

use this view ginv to shasow

 <DropShadow
          style={{
            shadowColor: "#000",
            shadowOffset: {
              width: 0,
              height: 0,
            },
            shadowOpacity: 1,
            shadowRadius: 5,
          }}
        >
    ----- Your  Contain --------------
</DropShadow>

solved card view shadow effect only top side react native [closed]