add statusbar plugin

pull/4774/head
Joseph Izang 7 months ago
parent 7b671553f9
commit 6552c21b8d
  1. 3
      apps/remix-ide/src/app/components/status-bar.tsx
  2. 1
      libs/remix-ui/panel/src/index.ts
  3. 14
      libs/remix-ui/panel/src/lib/statusbar/remixui-statusbar-panel.tsx
  4. 1
      libs/remix-ui/panel/src/lib/types/index.ts

@ -4,7 +4,8 @@ import { Plugin } from '@remixproject/engine'
import packageJson from '../../../../../package.json'
import { PluginViewWrapper } from '@remix-ui/helper'
import { PluginProfile } from '../../types'
import { RemixUIStatusBar } from '@remix-ui/panel'
// eslint-disable-next-line @nrwl/nx/enforce-module-boundaries
import { RemixUIStatusBar } from '@remix-ui/statusbar'
const statusBarProfile: PluginProfile = {
name: 'statusBar',

@ -2,4 +2,3 @@ export { default as RemixPluginPanel } from './lib/plugins/remix-ui-panel'
export { default as RemixUIMainPanel } from './lib/main/main-panel'
export { PluginRecord } from './lib/types'
export { default as RemixUIPanelHeader } from './lib/plugins/panel-header'
export { default as RemixUIStatusBar } from './lib/statusbar/remixui-statusbar-panel'

@ -1,14 +0,0 @@
import React from 'react'
import { StatusBarInterface } from '../types'
export interface RemixUIStatusBarProps {
statusBarPlugin: StatusBarInterface
}
export default function RemixUIStatusBar({ statusBarPlugin }: RemixUIStatusBarProps) {
return (
<div className="d-flex flex-row bg-primary">
<h6>Statusbar</h6>
</div>
)
}

@ -1,5 +1,4 @@
import { Profile } from '@remixproject/plugin-utils'
import EventEmitter from 'events'
export type PluginRecord = {
profile: Profile

Loading…
Cancel
Save