I'm looking for a simple way to document Custom React Hooks, and Storybook has caught my intention as a clean and relatively easy way to document/demo components I write in React.
However, I can't seem to find any examples of how to document a Custom hook in Storybook.
Currently I have to create a wrapper component and redefine all my hook's arguments as the props, and also return some html.
Was wondering if there's another way that people have come up with to document hook usage, inputs and returned data (types, description, control values, etc.)...
If anyone has any experience with this, a simple example would be greatly appreciated!
ps: using storybook v6