import { commandIds } from "@commands/ids"; import type { AppStore } from "@editor/store"; import type { BrushSettings, ToolId } from "@editor/tools"; import { BottomControlDivider } from "./Divider"; import { bottomControlLabelClass } from "./styles"; export type BrushControlsProps = { tool: Extract; settings: BrushSettings; dispatch: AppStore["dispatch"]; }; export function BrushControls({ tool, settings, dispatch }: BrushControlsProps) { return (
{tool === "eraser" ? "Eraser" : "Brush"} {tool === "brush" ? ( ) : null}
); }