Closed hadihallak closed 1 year ago
Thanks @hadihallak! This is a huge DX improvement.
Fwiw the correct syntax seems to be styled.withConfig({ componentId: 'cool-id' })('div', {color: 'red'})
Note I removed the second .styled
in your instructions to get this to work.
Ability to set
componentId
:Ability to set
displayName
:displayName
withcomponentId
:Ability to control whether stitches should forward its props to the extended component or not using
shouldForwardStitchesProp
: