Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
2067db83
Commit
2067db83
authored
Aug 14, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
9861674e
Pipeline
#4208
passed with stages
in 2 minutes and 55 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
index.jsx
src/components/DraggableDialog/index.jsx
+25
-3
No files found.
src/components/DraggableDialog/index.jsx
View file @
2067db83
import
{
SendOutlined
}
from
"@ant-design/icons"
;
/*
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-04-20 10:51:07
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-14 15:17:32
* @FilePath: /cs_vsofpm/src/components/DraggableDialog/index.jsx
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
*/
import
{
CloseOutlined
,
SendOutlined
}
from
"@ant-design/icons"
;
import
LoadingButton
from
"@mui/lab/LoadingButton"
;
import
Button
from
"@mui/material/Button"
;
import
IconButton
from
"@mui/material/IconButton"
;
import
Dialog
from
"@mui/material/Dialog"
;
import
DialogActions
from
"@mui/material/DialogActions"
;
import
DialogContent
from
"@mui/material/DialogContent"
;
...
...
@@ -39,7 +51,6 @@ export default function DraggableDialog({
return
(
<
div
>
<
Dialog
onClose=
{
handleClose
}
PaperComponent=
{
PaperComponent
}
aria
-
labelledby=
"draggable-dialog-title"
TransitionComponent=
{
Transition
}
...
...
@@ -48,8 +59,19 @@ export default function DraggableDialog({
{
...
dialogprops
}
//keepMounted
>
<
DialogTitle
style=
{
{
cursor
:
"move"
}
}
id=
"draggable-dialog-title"
>
<
DialogTitle
style=
{
{
cursor
:
"move"
,
display
:
"flex"
,
justifyContent
:
"space-between"
,
}
}
id=
"draggable-dialog-title"
>
{
dialogprops
?.
title
}
<
IconButton
size=
"small"
onClick=
{
handleClose
}
>
<
CloseOutlined
></
CloseOutlined
>
</
IconButton
>
</
DialogTitle
>
<
DialogContent
>
{
children
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment