Hey Gang- I am a relative noob to react.js/next.js and using a purchased template with custom styling. I’ve tried a couple of experiments to wrap the custom button code around the Typeform PopupButton examples but am unable to get the popup functionality without losing the original styling. What generally results is some ugly looking mix of the two.
This is one of many failed tests:
<Button
className="donate__btn"
variant="secondary"
aria-label="Get Started"
>
<PopupButton id="fooCode">
Request Invite
</PopupButton>
</Button>
I would appreciate any tips or tricks to do this. TIA, V.