Check out example codes for "css rounded corners at top only". It will help you in understanding the concepts better.

Code Example 1

border-radius: 10px     10px      0           0;
            // top-left top-right bottom-right bottom-left.

Learn ReactJs, React Native from akashmittal.com