I would like to extend styles using something like:
const TomatoButton = styled<{color?: string}>(Button)`
color: ${props => props.color || "white"};
border-color: tomato;
`;
But I can’t find a way to “compose” the props with additional arguments
mxthevs
2
I don’t have an exact answer, but there is styled-ppx which is pretty good
Styled ppx is good but unfortunately it doesn’t work with React Native
davesnx
4
Hey, open an issue and help me understand what’s needed to support React Native.
1 Like