0
rated 0 times
[
4]
[
4]
/ answers: 1 / hits: 32890
/ 5 Years ago, thu, november 28, 2019, 12:00:00
I can add a button with text in react-bootstrap using code like
<Button
className={styles.feedbackButtonRating}
variant={this.state.liked ? 'success' : 'light'}
onClick={this.handleOnLikeClick}
>
{FEEDBACK_LIKE_BUTTON_TEXT}
</Button>
Is there a way to replace {FEEDBACK_LIKE_BUTTON_TEXT}
text with a thumb up icon?
More From » reactjs