import React from "react"; import { ActionManager } from "../actions/manager"; import { AppState } from "../types"; import { DarkModeToggle } from "./DarkModeToggle"; export const BackgroundPickerAndDarkModeToggle = ({ appState, setAppState, actionManager, }: { actionManager: ActionManager; appState: AppState; setAppState: any; }) => (
{actionManager.renderAction("changeViewBackgroundColor")}
{ setAppState({ appearance }); }} />
);