Open viktorlarsson opened 3 years ago
Using css it does not append undefined.
<View
style={css`
display: flex;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
align-content: center;
align-items: center;
justify-content: center;
`}
>
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.
Current behavior:
Creating a simple loading component and do styling with emotion works great, but i'm doing a native styling -> emotion so i'm using snapshot testing for visual regression tests. But @emotion/native always appends undefined to the styles array. Is this by design or?
To reproduce:
Expected behavior:
Should probably not append undefined to the styles array?
Environment information:
react
version: 16.13.1react-native
version: 0.63emotion
version: 11.0.0-next.10