Skip to main content
You can create custom tools. This can be done by creating a Tool and adding it to configuration.tools. Create a file named myTool.tsx with the following content:
MyToolComponent has access to the state of the dashboard and to those of the selected widget. It can also update these pieces of state. See EditorProps for more information.
Finally, go to your index.ts and make the following change: