Closed davidhu2000 closed 2 years ago
css is a prop used in many major css-in-js libraries like emotion and styled-components. Since the removal of emotion, using css prop can cause type conflicts.
css
in this package, we have
interface CommonProps { css?: CSSProperties;
and it is InterpolationWithTheme<any> in emtion https://github.com/emotion-js/emotion/issues/1800.
InterpolationWithTheme<any>
Rename should mean we avoid this conflict in repos using both this library and emotion.
What changes are introduced?
css
is a prop used in many major css-in-js libraries like emotion and styled-components. Since the removal of emotion, using css prop can cause type conflicts.in this package, we have
and it is
InterpolationWithTheme<any>
in emtion https://github.com/emotion-js/emotion/issues/1800.Rename should mean we avoid this conflict in repos using both this library and emotion.