You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to convert my styled components to use string syntax, but hit a wall with this component.
Basically the component checks if two instances of it exist in the DOM and if it does places a border-bottom: '0px' on the second one. However, I get multiple errors and linter issues anytime I try to translate that portion to string syntax.
Would really appreciate any insight on translating the [${StyledComponent} + ${StyledComponent}] part to string syntax.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been trying to convert my styled components to use string syntax, but hit a wall with this component.
Basically the component checks if two instances of it exist in the DOM and if it does places a border-bottom: '0px' on the second one. However, I get multiple errors and linter issues anytime I try to translate that portion to string syntax.
Would really appreciate any insight on translating the [${StyledComponent} + ${StyledComponent}] part to string syntax.
Beta Was this translation helpful? Give feedback.
All reactions