mirror of
https://github.com/mue/mue.git
synced 2026-07-18 06:24:17 +02:00
- Updated jsconfig.json to use ESNext module and target, added JSX support, and improved path mappings. - Modified package.json to set module type, updated dependencies including React and MUI, and added new dev dependencies for ESLint and Husky. - Refactored Favourite component to improve tooltip handling with lifecycle methods. - Replaced @muetab/react-sortable-hoc with @dnd-kit for drag-and-drop functionality in Overview, Todo, and QuickLinksOptions components. - Enhanced QuickLinksOptions to support drag-and-drop reordering with updated state management. - Updated Vite configuration to target ESNext for modern JavaScript features. - Added Husky pre-commit hook for linting. - Created .nvmrc file to specify Node.js version. - Added ESLint configuration for improved code quality and consistency.
42 lines
1.2 KiB
JavaScript
42 lines
1.2 KiB
JavaScript
|
|
import variables from 'config/variables';
|
|
import { PureComponent } from 'react';
|
|
import { MdOutlineExtensionOff } from 'react-icons/md';
|
|
import { Button } from 'components/Elements';
|
|
|
|
export default class Create extends PureComponent {
|
|
constructor() {
|
|
super();
|
|
this.state = {};
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<>
|
|
<div className="flexTopMarketplace">
|
|
<span className="mainTitle">
|
|
{variables.getMessage('modals.main.addons.create.title')}
|
|
</span>
|
|
</div>
|
|
<div className="emptyItems">
|
|
<div className="emptyNewMessage">
|
|
<MdOutlineExtensionOff />
|
|
<span className="title">
|
|
{variables.getMessage('modals.main.addons.create.moved_title')}
|
|
</span>
|
|
<span className="subtitle">
|
|
{variables.getMessage('modals.main.addons.create.moved_description')}
|
|
</span>
|
|
<div className="createButtons">
|
|
<Button
|
|
type="settings"
|
|
label={variables.getMessage('modals.main.addons.create.moved_button')}
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|
|
}
|