💅 styled-components limit prop names
💅 styled-components is one of my absolute favorite libraries! ❤️ I just have to be careful not use prop names for my components that could be interpreted as styles.
For example:
This will return an error because in StyleSheet
, position
must be one of absolute
or relative