@electron-wm/react-taskbar
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@electron-wm/react-taskbar

A React-based taskbar component for the electron-wm window manager.

Usage

Use the Taskbar component within your desktop component.

import { Taskbar, TagList, TaskList, RunField, SystemTray, Clock, LayoutIndicator } from "@electron-wm/react-taskbar";

export default () => {
  const screenIndex = useScreenIndex();
  return (
    <Desktop>
      <Taskbar height={20}>
        <TagList />
        <RunField />
        <TaskList />
        {screenIndex === 0 && <SystemTray />}
        <Clock />
        <LayoutIndicator />
      </Taskbar>
      <WorkArea>
        <Wallpaper />
      </WorkArea>
    </Desktop>
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i @electron-wm/react-taskbar

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

22 kB

Total Files

13

Last publish

Collaborators

  • wnayes