When I use the shorthand key paddingor margin, the following error is thrown if one of the values contains a dot.
No possible parsings (@5: '.').
Component :
const Banner = styled.View`
padding : 21 23.5 18.5 23.5;
`;
But the following works great :
const Banner = styled.View`
padding-top : 21;
padding-right : 23.5;
padding-bottom : 18.5;
padding-left : 23.5;
`;