-
Notifications
You must be signed in to change notification settings - Fork 55
AXON-1462-Add-feedback-submission-confirmation #1380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| import CrossIcon from '@atlaskit/icon/core/cross'; | ||
| import React from 'react'; | ||
|
|
||
| export interface FeedbackConfirmationFormProps { | ||
| onClose: () => void; | ||
| } | ||
|
|
||
| export const FeedbackConfirmationForm: React.FC<FeedbackConfirmationFormProps> = ({ onClose: onClose }) => { | ||
| return ( | ||
| <div className="form-container"> | ||
| <button | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| type="button" | ||
| onClick={() => onClose()} | ||
| style={{ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| background: 'none', | ||
| border: 'none', | ||
| cursor: 'pointer', | ||
| padding: 0, | ||
| marginLeft: 'auto', | ||
| }} | ||
| > | ||
| <CrossIcon | ||
| size="small" | ||
| label="close the feedback confirmation form" | ||
| color="var(--ds-icon-accent-gray)" | ||
| /> | ||
| </button> | ||
| <b>Thanks</b> | ||
| <br /> | ||
| <p>Your valuable feedback helps us continually improve our apps.</p> | ||
| </div> | ||
| ); | ||
| }; | ||
Uh oh!
There was an error while loading. Please reload this page.