I am using figma for screen design. All styling in figma is in CSS format. But I am developing app in React-Native where all the styling is different from CSS.
Lets Say box shadow in CSS
box-shadow: 2px -8px 15px rgba(29, 41, 56, 0.2);
Such a styling in react-native will be like this,
{
elevation: 15,
shadowOffset: { width: 0, height: 3 },
shadowColor: 'black',
shadowOpacity: 0.3,
}
(These two stylings not exact conversions. Both are different. I am just showing for an example)
Is there any standard way to convert CSS styling to React-native? Thank You.