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