How can i add a text to {quote} such type?

<FacebookShareButton url={url} hashtag={this.props.hashtag} quote={this.props.quote}>

This is my code i want to display a text at that quote
, whereas quote contains the title of the project but i dont want only that i want Project on"" …so how can i do that in react

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

That’s just a component you’re using. We can’t see how it’s defined, how it works. No one can tell you how to get the HTML you want here without seeing how it’s defined.

1 Like