DEV Community

Discussion on: Polymorphic Presentations With Styled-Components

rodolphonetto profile image
Rodolpho Netto

I'll give that a try.

Normally I give the different button a prop and then do a ternary to test if it has that prop or not, but that approach you shown sound good to me