You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the border-bottom and border-right shorthand css syntax, color is ignored unless set separately. They do work if used in conjunction with another border-* property, or with border-color, but not on their own.
Here is a visual representation of how they function.
// does not set color<viewstyle={{borderBottom: '2px solid green'}}/><viewstyle={{borderRight: '2px solid green'}}/>// sets color correctly<viewstyle={{borderColor: 'green',borderBottom: '2px solid'}}/><viewstyle={{borderBottom: '2px solid green',borderRight: '2px solid green'}}/><viewstyle={{borderBottom: '2px solid green',borderTop: '2px solid green'}}/>