@prozilla-os/settings
About
@prozilla-os/settings
is a ProzillaOS application for configuring settings.
Installation
@prozilla-os/core
is required to run this application.
sh
npm install @prozilla-os/core @prozilla-os/settings
yarn add @prozilla-os/core @prozilla-os/settings
pnpm add @prozilla-os/core @prozilla-os/settings
Usage
Basic setup
tsx
import { Desktop, ModalsView, ProzillaOS, Taskbar, WindowsView, AppsConfig } from "@prozilla-os/core";
import { settings } from "@prozilla-os/settings";
function App() {
return (
<ProzillaOS
systemName="Example"
tagLine="Powered by ProzillaOS"
config={{
apps: new AppsConfig({
apps: [ settings ]
})
}}
>
<Taskbar/>
<WindowsView/>
<ModalsView/>
<Desktop/>
</ProzillaOS>
);
}
Window options
tsx
/**
* Initial tab to open
* @default 0
*/
tab: number;