compiled icon indicating copy to clipboard operation
compiled copied to clipboard

Props parameter in expressions must be named "props"

Open at-nathan opened this issue 2 years ago • 0 comments

Describe the bug In cases where CSS vars are not produced, error will be thrown if props parameter is named anything other than "props", for example:

color: ${(propz) => propz.isSelected ? 'green' : 'red'};

Will throw runtime error: propz is not defined.

at-nathan avatar Mar 23 '22 07:03 at-nathan