import React from "react"; import { ColorPicker } from "../ColorPicker"; interface PanelCanvasProps { viewBackgroundColor: string; onViewBackgroundColorChange: (val: string) => void; onClearCanvas: React.MouseEventHandler; } export const PanelCanvas: React.FC = ({ viewBackgroundColor, onViewBackgroundColorChange, onClearCanvas }) => { return ( <>

Canvas

Canvas Background Color
onViewBackgroundColorChange(color)} />
); };