Skip to content
All lessons

Tech Insights· github.com

Styling a styled-component requires explicitly passing down a className property: #issuecomment-388361988

From github.com

Version Styled Components: 2.1.1 React: 16.0.0 Steps to reproduce const DataDefinitionListItem = ({ label, value }) => ( <DataDefinitionListItem...

Shared by

Read on github.com
  • JavaScript
  • React
  • Styled Components
  • UI

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us