import { type ToolType } from "@/pages/editor/store/editorStore";
import {
ImageGallery,
VideoInput,
LinkInput,
SelectInstruction,
RectangleInstruction,
TextInstruction,
LineInstruction,
ArrowInstruction,
StickerInstruction,
GridInstruction,
} from "./instructions";
type ToolInstructionsProps = {
tool: ToolType;
};
const ToolInstructions = ({ tool }: ToolInstructionsProps) => {
if (tool === "image") {
return ;
}
if (tool === "video") {
return ;
}
if (tool === "link") {
return ;
}
const simpleInstructions: Partial> = {
select: ,
rectangle: ,
text: ,
line: ,
arrow: ,
sticker: ,
grid: ,
};
return simpleInstructions[tool] ?? null;
};
export default ToolInstructions;