Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Hi, first of all, I'm not very good at English, so please don't mind if my grammar is weird😁
I'm trying to write some React hooks components with TypeScript like react-use. And when I use
<Props of={MyReactHookComponet}/>in mdx file, I found that it didn't generate any props.All I can find is using
import { Props } from 'gatsby-theme-docz/src/components/Props/'and write props document by myself.Will you consider supporting generate props of hooks component?
Or is there a better way for this?
Thanks for your great job ♪(・ω・)ノ
Here is my code:
useCountdown.ts: