gabiseabra/styled-transition-group

Possible to change invocation?

Opened this issue · 0 comments

VSCode and Prettier both treat styled.<thing>``; as real CSS for formatting/intellicode/syntax.

Could this library be implemented so you could do import 'styled' from 'styled-transition-group' and that would give you the styled from styled-components, and then for the transitions you could write styled.transition`/*some css */`;.

And if you wanted to change the component, you could do it with .attrs({Component: 'span'}).