mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Co-authored-by: dwelle <luzar.david@gmail.com> Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
12 lines
325 B
TypeScript
12 lines
325 B
TypeScript
import { ActionManager } from "../actions/manager";
|
|
|
|
export const BackgroundPickerAndDarkModeToggle = ({
|
|
actionManager,
|
|
}: {
|
|
actionManager: ActionManager;
|
|
}) => (
|
|
<div style={{ display: "flex" }}>
|
|
{actionManager.renderAction("changeViewBackgroundColor")}
|
|
{actionManager.renderAction("toggleTheme")}
|
|
</div>
|
|
);
|