@prozilla-os/browser
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/browser is a ProzillaOS application for browsing the internet.

Installation

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

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

Usage

Basic setup

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

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

Window options

/**
 * URL to open
 */
url: string;

Links

Readme

Keywords

none

Package Sidebar

Install

npm i @prozilla-os/browser

Weekly Downloads

9

Version

1.1.16

License

MIT

Unpacked Size

17.5 kB

Total Files

6

Last publish

Collaborators

  • prozilla