import clsx from "clsx"; import { IconButton } from "./IconButton"; import type { JSX } from "react"; export const ElementCanvasButton = (props: { title?: string; icon: JSX.Element; checked: boolean; onChange?(): void; isMobile?: boolean; }) => { return ( props.onChange?.()} /> ); };