Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
91
rated 0 times [  98] [ 7]  / answers: 1 / hits: 138175  / 8 Years ago, thu, february 11, 2016, 12:00:00

How to use border radius in React Native only for 1 corner?



I have a modal window



http://f1.s.qip.ru/etSMz5YP.png



As you can see bottom corners not rounded, it happens when I used backgroundColor for buttons. I was trying to set overflow hidden to modal wrapper and it didn't help me. Now I want to use border radius to buttons (only for 1 corner).



My code http://jsbin.com/sexeputuqe/edit?html,css


More From » reactjs

 Answers
5

Did you already try with the following?

- borderBottomLeftRadius: number

- borderBottomRightRadius: number

- borderTopLeftRadius: number

- borderTopRightRadius: number



Also, you can find more info in the view component docs.


[#63352] Tuesday, February 9, 2016, 8 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jonrened

Total Points: 627
Total Questions: 114
Total Answers: 99

Location: Zimbabwe
Member since Thu, Jul 21, 2022
2 Years ago
jonrened questions
Mon, Nov 2, 20, 00:00, 4 Years ago
Tue, May 19, 20, 00:00, 4 Years ago
Tue, Jan 21, 20, 00:00, 4 Years ago
Thu, Nov 7, 19, 00:00, 5 Years ago
;