costum shape

This commit is contained in:
hamid zarghami
2026-06-13 16:22:46 +03:30
parent e6fc300fba
commit f9113ef9c8
17 changed files with 610 additions and 3 deletions
@@ -11,6 +11,7 @@ import {
ArrowInstruction,
StickerInstruction,
GridInstruction,
CustomShapeInstruction,
} from "./instructions";
type ToolInstructionsProps = {
@@ -42,6 +43,7 @@ const ToolInstructions = ({ tool }: ToolInstructionsProps) => {
arrow: <ArrowInstruction />,
sticker: <StickerInstruction />,
grid: <GridInstruction />,
"custom-shape": <CustomShapeInstruction />,
};
return simpleInstructions[tool] ?? null;