react-native-css-modules icon indicating copy to clipboard operation
react-native-css-modules copied to clipboard

[bug] border-bottom doesn't work

Open brain00021 opened this issue 4 years ago • 1 comments

it's okay for using border:var(--header-background-border); but if turn to be border-bottom:var(--header-background-border); immediately doesn't work

brain00021 avatar Oct 14 '20 09:10 brain00021

Thanks @brain00021 . This caused by a limitation in React Native, which then means that the CSS parser can not support it (https://github.com/styled-components/css-to-react-native/pull/95)

I know that it is not clean, but you need to use border-bottom-width, border-bottom-color and border-bottom-style as separate properties instead.

kristerkari avatar Oct 15 '20 10:10 kristerkari