@prozilla-os/browser
About
@prozilla-os/browser
is a ProzillaOS application for browsing the internet.
Installation
@prozilla-os/core
is required to run this application.
sh
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
tsx
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
tsx
/**
* URL to open
*/
url: string;