mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-16 17:14:36 +01:00
emit download errors
This commit is contained in:
@@ -5,6 +5,7 @@ import './MiniDialog.css'
|
||||
|
||||
interface IProps {
|
||||
children: React.ReactNode[] | React.ReactNode;
|
||||
title?: string;
|
||||
closeFn: () => void;
|
||||
}
|
||||
|
||||
@@ -17,7 +18,7 @@ export default class MiniDialog extends React.Component<IProps, never> {
|
||||
return (
|
||||
<div className="MiniDialog">
|
||||
<div className="MiniDialogTop" onClick={this.props.closeFn}>
|
||||
<div></div>
|
||||
<span>{this.props?.title}</span>
|
||||
<img src={Close} className="MiniDialogClose" />
|
||||
</div>
|
||||
<div className="MiniDialogInner">
|
||||
|
||||
Reference in New Issue
Block a user