@prozilla-os/calculator
TypeScript icon, indicating that this package has built-in type declarations

1.1.16 • Public • Published

ProzillaOS

License Stars Forks NPM Version

About

@prozilla-os/calculator is a ProzillaOS application for making basic calculations.

Installation

@prozilla-os/core is required to run this application.

npm install @prozilla-os/core @prozilla-os/calculator
yarn add @prozilla-os/core @prozilla-os/calculator
pnpm add @prozilla-os/core @prozilla-os/calculator

Usage

Basic setup

import { Desktop, ModalsView, ProzillaOS, Taskbar, WindowsView, AppsConfig } from "@prozilla-os/core";
import { calculator } from "@prozilla-os/calculator";

function App() {
  return (
    <ProzillaOS
      systemName="Example"
      tagLine="Powered by ProzillaOS"
      config={{
        apps: new AppsConfig({
          apps: [ calculator ]
        })
      }}
    >
      <Taskbar/>
      <WindowsView/>
      <ModalsView/>
      <Desktop/>
    </ProzillaOS>
  );
}

Links

Readme

Keywords

none

Package Sidebar

Install

npm i @prozilla-os/calculator

Weekly Downloads

4

Version

1.1.16

License

MIT

Unpacked Size

25.7 kB

Total Files

6

Last publish

Collaborators

  • prozilla