Created
February 6, 2022 15:14
-
-
Save jx13xx/fad3052345e3a3982558cb8c7f14cd9d to your computer and use it in GitHub Desktop.
Custom Button React Component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return ( | |
<Card> | |
<form> | |
<h2> How you rate your service with us?</h2> | |
<div className={'input-group'}> | |
<input | |
onChange={handleTextChange} | |
type={'text'} | |
placeholder={'Write a review'} | |
value={text}/> | |
<Button | |
type={'submit'} | |
version={'secondary'} | |
// onClick={handleSubmitButton} | |
>Send</Button> | |
</div> | |
</form> | |
</Card> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment