menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

styled-components

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress!

Channels
Team

Is there an equivalent to styledComponentId that returns the dynamic class?

July 17, 2021 at 5:59pm

Is there an equivalent to styledComponentId that returns the dynamic class?

July 17, 2021 at 5:59pm
I'd like to get a reference to this in my react component so I can target each instance of the same styled component.
No messages yet