MCPcopy Create free account
hub / github.com/Shitanshukumar607/Drawspace / ToolInstructions

Function ToolInstructions

components/ToolInstructions.tsx:22–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20};
21
22const ToolInstructions = () => {
23 const selectedTool = useStateStore((state) => state.selectedTool);
24
25 return (
26 <div className="fixed top-20 left-1/2 transform -translate-x-1/2 z-40 pointer-events-none">
27 <div className="backdrop-blur-sm px-4 py-1.5 rounded-full text-xs font-medium text-gray-500 shadow-sm border border-gray-200">
28 {instructions[selectedTool]}
29 </div>
30 </div>
31 );
32};
33
34export default ToolInstructions;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected