mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
web: migrate base dialog to typescript
This commit is contained in:
committed by
Abdullah Atta
parent
1123fe0383
commit
05cec14c9b
@@ -52,16 +52,14 @@ function IssueDialog(props: IssueDialogProps) {
|
||||
<Dialog
|
||||
isOpen={true}
|
||||
title={"Report an issue"}
|
||||
onClose={props.onClose}
|
||||
onClose={() => props.onClose(false)}
|
||||
positiveButton={{
|
||||
text: "Submit",
|
||||
props: {
|
||||
form: "issueForm"
|
||||
},
|
||||
form: "issueForm",
|
||||
loading: isSubmitting,
|
||||
disabled: isSubmitting
|
||||
}}
|
||||
negativeButton={{ text: "Cancel", onClick: props.onClose }}
|
||||
negativeButton={{ text: "Cancel", onClick: () => props.onClose(false) }}
|
||||
>
|
||||
<Flex
|
||||
id="issueForm"
|
||||
|
||||
Reference in New Issue
Block a user