ts-docgen-next
v1.1.0
Published
Webpack loader for generating documentation from typescript files
Downloads
3
Readme
ts-docgen-next
✈️ Install
npm i -DE ts-docgen-next
☄️ Usage
As webpack-loader
component.tsx
import { FC } from 'react'
interface ComponentProps {
property: string
}
export const Component: FC<ComponentProps> = () => null
documentation.mdx
import { ComponentProps } from '!!ts-docgen-next/loader!./component.tsx'
<PropsTable value={ComponentProps} />
📜 License
Project is MIT licensed.