-
If you have a export const Foo = styled.div(() => ({
transition: 'background 0.2s, border 0.2s',
// ...
})); And a export const Bar = () => (
<Foo css={{
transition: 'box-shadow 0.2s',
// ...
}} />
); And end up with a merged transition on transition: 'background 0.2s, border 0.2s, box-shadow 0.2s', Is this even possible? If not, any other ideas on how to achieve something similar? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Andarist
Apr 4, 2021
Replies: 1 comment
-
Its not possible - i would pass the required info outside of css prop and only dump the whole thing to css at the very bottom |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
flugg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its not possible - i would pass the required info outside of css prop and only dump the whole thing to css at the very bottom