Describe the bug
The css prop array composition fails in unexpected ways when using anything but simple variables or strings. The following throws exceptions at compile time:
// Error: MemberExpression isn't a supported CSS type
css={[ mixins.mixin, css``}
// Error: SpreadElement isn't a supported CSS type
css={[ ...mixins, css``]}
To Reproduce
1) Try compose different types of data structures that should intuitively work in an array
2) Watch it throw errors about unsupported types
Expected behavior
Array composition should behave like a normal Array and support things like spreads, etc.
Desktop (please complete the following information):
Describe the bug The css prop array composition fails in unexpected ways when using anything but simple variables or strings. The following throws exceptions at compile time:
To Reproduce
1) Try compose different types of data structures that should intuitively work in an array 2) Watch it throw errors about unsupported types
Expected behavior Array composition should behave like a normal Array and support things like spreads, etc.
Desktop (please complete the following information):