File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 9
9
IconUndo ,
10
10
IconRedo ,
11
11
IconEdit ,
12
+ IconShareStroked ,
12
13
} from "@douyinfe/semi-icons" ;
13
14
import { Link , useNavigate } from "react-router-dom" ;
14
15
import icon from "../../assets/icon_dark_64.png" ;
@@ -1355,8 +1356,22 @@ export default function ControlPanel({
1355
1356
1356
1357
return (
1357
1358
< >
1358
- { layout . header && header ( ) }
1359
- { layout . toolbar && toolbar ( ) }
1359
+ < div >
1360
+ { layout . header && (
1361
+ < div className = "flex justify-between items-center me-7" >
1362
+ { header ( ) }
1363
+ < Button
1364
+ type = "primary"
1365
+ className = "text-base me-2 pe-6 ps-5 py-[18px] rounded-md"
1366
+ size = "default"
1367
+ icon = { < IconShareStroked /> }
1368
+ >
1369
+ Share
1370
+ </ Button >
1371
+ </ div >
1372
+ ) }
1373
+ { layout . toolbar && toolbar ( ) }
1374
+ </ div >
1360
1375
< Modal
1361
1376
modal = { modal }
1362
1377
exportData = { exportData }
@@ -1579,7 +1594,7 @@ export default function ControlPanel({
1579
1594
width = { 54 }
1580
1595
src = { icon }
1581
1596
alt = "logo"
1582
- className = "ms-8 min-w-[54px]"
1597
+ className = "ms-7 min-w-[54px]"
1583
1598
/>
1584
1599
</ Link >
1585
1600
< div className = "ms-1 mt-1" >
You can’t perform that action at this time.
0 commit comments