@prozilla-os/browser
v1.1.16
Published
A ProzillaOS application for browsing the internet.
Downloads
769
Readme
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;