|
|
|
@ -1,13 +1,11 @@ |
|
|
|
|
// eslint-disable-next-line no-use-before-define
|
|
|
|
|
import React from 'react' |
|
|
|
|
import ReactDOM from 'react-dom' |
|
|
|
|
import Registry from '../state/registry' |
|
|
|
|
import packageJson from '../../../../../package.json' |
|
|
|
|
import { Plugin } from '@remixproject/engine' |
|
|
|
|
import { EventEmitter } from 'events' |
|
|
|
|
import { IconRecord, RemixUiVerticalIconsPanel } from '@remix-ui/vertical-icons-panel' |
|
|
|
|
import { Profile } from '@remixproject/plugin-utils' |
|
|
|
|
import { timeStamp } from 'console' |
|
|
|
|
|
|
|
|
|
const profile = { |
|
|
|
|
name: 'menuicons', |
|
|
|
@ -95,7 +93,6 @@ export class VerticalIcons extends Plugin { |
|
|
|
|
*/ |
|
|
|
|
select (name: string) { |
|
|
|
|
// TODO: Only keep `this.emit` (issue#2210)
|
|
|
|
|
console.log(name, this) |
|
|
|
|
this.emit('showContent', name) |
|
|
|
|
this.events.emit('showContent', name) |
|
|
|
|
} |
|
|
|
|