This repository was archived by the owner on May 6, 2019. It is now read-only.
This repository was archived by the owner on May 6, 2019. It is now read-only.
Styled component className function #10
Open
Description
I'd love to switch to using the styled
function fulltime, but there are times where I need a raw class name. Using style
directly can be a little confusing since it's a different paradigm but named so similar to styled
Is it possible to expose the helper function as a static function that simply generates the classname?
class Styled {
static className = memoizedComputeClass
}
Metadata
Metadata
Assignees
Labels
No labels