Answered

Typeform user feedback (Sidetab)-@typeform/embed-react library.

  • 19 May 2023
  • 3 replies
  • 51 views

Hello,

I am implementing Typeform user feedback (Sidetab) in React using @typeform/embed-react library as following:


//In React I use the bellow code

<Sidetab
id={formId}
hidden={{
user_id : me.id,
name: me.first_name,
}}
ref={sidetabRef}
medium="demo-test"
buttonText="Send us feedback"
buttonColor="#ffa366"
/>

All looks good so far, the only issue is that I have not found a way to change text colour in Button or the button size. It seems there is no fields/props in Sidetab component to change button text colour/font and button size.

Any help?

 

icon

Best answer by mathio 19 May 2023, 16:26

View original

3 replies

Userlevel 7
Badge +5

@mathio might be able to help you with this!

Userlevel 7
Badge +5

Hello, the text color is set based on the background color (to make sure it is properly visible and accessible). Button size is also given based on text length.

However feel free to request this new feature by creating a new issue in our Github repository.

@Liz @mathio Thank you for your replay. We have created a new issue in GitHub.

Reply