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

0.3.2 • Public • Published

@bond-wm/react-taskbar

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

Usage

Use the Taskbar component within your desktop component.

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

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 @bond-wm/react-taskbar

Weekly Downloads

0

Version

0.3.2

License

MIT

Unpacked Size

18.8 kB

Total Files

12

Last publish

Collaborators

  • wnayes